summaryrefslogtreecommitdiffstats
path: root/chrome/common/nacl_cmd_line.cc
diff options
context:
space:
mode:
authornoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 22:18:23 +0000
committernoelallen@google.com <noelallen@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-27 22:18:23 +0000
commit528d9e3a6c6831387ee1ba34a28b9486dce31465 (patch)
tree951c4a93bb8e92ec41523da562d33586ff49f024 /chrome/common/nacl_cmd_line.cc
parent1407b6eecf2fe8475e52ed628ac4ad57e1f0c1c0 (diff)
downloadchromium_src-528d9e3a6c6831387ee1ba34a28b9486dce31465.zip
chromium_src-528d9e3a6c6831387ee1ba34a28b9486dce31465.tar.gz
chromium_src-528d9e3a6c6831387ee1ba34a28b9486dce31465.tar.bz2
Add debug switches for NaCl to chrome. These switches will propogate through the broker all the way to the NaCl sel loader.
The switches enable debugging of the NEXE, and allow port/IP configuration. Changes to NaCl will be in the NaCl repository. BUG=http://code.google.com/p/nativeclient/issues/detail?id=728 TEST=none NOTE: Try server for linux only failed however run of -b linux at a later time passed. However, presubmit is still showing a linux failure warning. Review URL: http://codereview.chromium.org/3184023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57738 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/nacl_cmd_line.cc')
-rw-r--r--chrome/common/nacl_cmd_line.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/common/nacl_cmd_line.cc b/chrome/common/nacl_cmd_line.cc
index c2a3b8c..4c2f19f 100644
--- a/chrome/common/nacl_cmd_line.cc
+++ b/chrome/common/nacl_cmd_line.cc
@@ -28,6 +28,9 @@ void CopyNaClCommandLineArguments(CommandLine* cmd_line) {
switches::kEnableDCHECK,
switches::kSilentDumpOnDCHECK,
switches::kMemoryProfiling,
+ switches::kEnableNaClDebug,
+ switches::kNaClDebugPorts,
+ switches::kNaClDebugIP,
};
cmd_line->CopySwitchesFrom(browser_command_line, kSwitchNames,
arraysize(kSwitchNames));