Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(207)

Issue 9950055: Enable --nacl-gdb flag on Linux. (Closed)

Created:
8 years, 8 months ago by halyavin
Modified:
8 years, 8 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews, native-client-reviews_googlegroups.com
Visibility:
Public.

Description

Enable --nacl-gdb flag on Linux. I changed --nacl-gdb meaning on Linux. On Windows it means path to nacl-gdb, but on linux it means path to nacl-gdb and options/wrappers. Options and paths can not contain spaces on Linux. BUG=117010 TEST= browser_tests --gtest_filter=NaClGdb* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=130972

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : SendMessage simplification #

Patch Set 7 : Better error handling in test #

Patch Set 8 : style nit #

Total comments: 29

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : #

Total comments: 8

Patch Set 13 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+168 lines, -19 lines) Patch
M chrome/browser/nacl_host/nacl_process_host.h View 1 2 3 4 5 6 7 8 3 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 7 chunks +126 lines, -13 lines 0 comments Download
M chrome/browser/nacl_host/test/mock_nacl_gdb.cc View 1 2 3 4 5 6 7 8 3 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/test/mock_nacl_gdb.gyp View 1 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
halyavin
>Can you explain the bigger picture here? What is all this stuff for > synchronising ...
8 years, 8 months ago (2012-04-02 15:07:37 UTC) #1
Mark Seaborn
http://codereview.chromium.org/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): http://codereview.chromium.org/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc#newcode275 chrome/browser/nacl_host/nacl_process_host.cc:275: #if defined(OS_LINUX) #elif for neatness. http://codereview.chromium.org/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc#newcode423 chrome/browser/nacl_host/nacl_process_host.cc:423: cmd_line->AppendArg("-ex"); Please ...
8 years, 8 months ago (2012-04-03 21:57:44 UTC) #2
halyavin
https://chromiumcodereview.appspot.com/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://chromiumcodereview.appspot.com/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc#newcode275 chrome/browser/nacl_host/nacl_process_host.cc:275: #if defined(OS_LINUX) On 2012/04/03 21:57:44, Mark Seaborn wrote: > ...
8 years, 8 months ago (2012-04-04 09:23:15 UTC) #3
Mark Seaborn
https://chromiumcodereview.appspot.com/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://chromiumcodereview.appspot.com/9950055/diff/4021/chrome/browser/nacl_host/nacl_process_host.cc#newcode510 chrome/browser/nacl_host/nacl_process_host.cc:510: return base::LaunchProcess(cmd_line, base::LaunchOptions(), NULL); On 2012/04/04 09:23:15, halyavin wrote: ...
8 years, 8 months ago (2012-04-04 15:46:12 UTC) #4
halyavin
https://chromiumcodereview.appspot.com/9950055/diff/5020/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://chromiumcodereview.appspot.com/9950055/diff/5020/chrome/browser/nacl_host/nacl_process_host.cc#newcode461 chrome/browser/nacl_host/nacl_process_host.cc:461: int fd_write_; On 2012/04/04 15:46:13, Mark Seaborn wrote: > ...
8 years, 8 months ago (2012-04-04 16:08:51 UTC) #5
Mark Seaborn
On 2012/04/04 16:08:51, halyavin wrote: > https://chromiumcodereview.appspot.com/9950055/diff/5020/chrome/browser/nacl_host/nacl_process_host.cc > File chrome/browser/nacl_host/nacl_process_host.cc (right): > > https://chromiumcodereview.appspot.com/9950055/diff/5020/chrome/browser/nacl_host/nacl_process_host.cc#newcode461 > ...
8 years, 8 months ago (2012-04-04 16:30:31 UTC) #6
halyavin
> OK, but the comments still don't explain why you use PID!="self" in > /proc/PID/fd/N. ...
8 years, 8 months ago (2012-04-05 10:48:44 UTC) #7
Mark Seaborn
LGTM, thanks https://chromiumcodereview.appspot.com/9950055/diff/17001/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://chromiumcodereview.appspot.com/9950055/diff/17001/chrome/browser/nacl_host/nacl_process_host.cc#newcode497 chrome/browser/nacl_host/nacl_process_host.cc:497: // Tell debugger to send a byte ...
8 years, 8 months ago (2012-04-05 15:03:12 UTC) #8
halyavin
https://chromiumcodereview.appspot.com/9950055/diff/17001/chrome/browser/nacl_host/nacl_process_host.cc File chrome/browser/nacl_host/nacl_process_host.cc (right): https://chromiumcodereview.appspot.com/9950055/diff/17001/chrome/browser/nacl_host/nacl_process_host.cc#newcode497 chrome/browser/nacl_host/nacl_process_host.cc:497: // Tell debugger to send a byte to write ...
8 years, 8 months ago (2012-04-05 15:07:32 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halyavin@google.com/9950055/20003
8 years, 8 months ago (2012-04-05 15:07:44 UTC) #10
commit-bot: I haz the power
8 years, 8 months ago (2012-04-05 18:18:26 UTC) #11
Change committed as 130972

Powered by Google App Engine
This is Rietveld 408576698