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

Issue 10447012: Add nacl-gdb-script switch. (Closed)

Created:
8 years, 7 months ago by halyavin
Modified:
8 years, 6 months ago
Reviewers:
Mark Seaborn
CC:
chromium-reviews, native-client-reviews_googlegroups.com, pam+watch_chromium.org, noelallen_use_chromium, dpolukhin
Visibility:
Public.

Description

Add nacl-gdb-script switch. It points to a script that will be executed by nacl-gdb at startup. BUG=117010 TEST= browser_tests --gtest_filter=NaClGdbScript* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=139524

Patch Set 1 #

Total comments: 14

Patch Set 2 : #

Patch Set 3 : Implement flag for linux too #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -22 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/nacl_process_host.cc View 1 2 3 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/test/mock_nacl_gdb.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc View 1 2 3 4 2 chunks +37 lines, -22 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/tools/chromeactions.txt View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
halyavin
8 years, 7 months ago (2012-05-24 15:03:24 UTC) #1
Mark Seaborn
You could set BUG= to http://code.google.com/p/chromium/issues/detail?id=117010. Thanks for adding a test, and sorry to be ...
8 years, 7 months ago (2012-05-24 17:25:57 UTC) #2
halyavin
https://chromiumcodereview.appspot.com/10447012/diff/1/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://chromiumcodereview.appspot.com/10447012/diff/1/chrome/app/generated_resources.grd#newcode5106 chrome/app/generated_resources.grd:5106: + <message name="IDS_FLAGS_NACL_GDB_SCRIPT_NAME" desc="Name of the 'Script executed by ...
8 years, 7 months ago (2012-05-25 09:37:45 UTC) #3
halyavin
PTAL
8 years, 6 months ago (2012-05-28 09:21:23 UTC) #4
Mark Seaborn
LGTM http://codereview.chromium.org/10447012/diff/3005/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc File chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc (right): http://codereview.chromium.org/10447012/diff/3005/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc#newcode33 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc:33: command_line->AppendSwitchASCII("nacl-gdb-script", script_.AsUTF8Unsafe()); You use AppendSwitchPath() above. Can't it ...
8 years, 6 months ago (2012-05-29 18:19:44 UTC) #5
halyavin
http://codereview.chromium.org/10447012/diff/3005/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc File chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc (right): http://codereview.chromium.org/10447012/diff/3005/chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc#newcode33 chrome/browser/nacl_host/test/nacl_gdb_browsertest.cc:33: command_line->AppendSwitchASCII("nacl-gdb-script", script_.AsUTF8Unsafe()); On 2012/05/29 18:19:44, Mark Seaborn wrote: > ...
8 years, 6 months ago (2012-05-30 08:12:04 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halyavin@google.com/10447012/12003
8 years, 6 months ago (2012-05-30 10:32:21 UTC) #7
commit-bot: I haz the power
8 years, 6 months ago (2012-05-30 11:41:16 UTC) #8
Change committed as 139524

Powered by Google App Engine
This is Rietveld 408576698