summaryrefslogtreecommitdiffstats
path: root/lldb/tools/debugserver/source/debugserver.cpp
diff options
context:
space:
mode:
authorCaroline Tice <ctice@apple.com>2010-11-05 22:37:44 +0000
committerCaroline Tice <ctice@apple.com>2010-11-05 22:37:44 +0000
commit5e254d37a64c30b3b909c79807e64d0c556560c8 (patch)
treeaff3f23fbaef73e2599548930facec8557f397e6 /lldb/tools/debugserver/source/debugserver.cpp
parentc6db8ce5dae8aa63f18809c8aa03aa35a37eb270 (diff)
downloadbcm5719-llvm-5e254d37a64c30b3b909c79807e64d0c556560c8.tar.gz
bcm5719-llvm-5e254d37a64c30b3b909c79807e64d0c556560c8.zip
If debugserver is running on the local machine, pass it a
pseudoterminal to pass to the inferior for the inferior's I/O (to allow direct writing, rather than passing all the I/O around via packets). llvm-svn: 118308
Diffstat (limited to 'lldb/tools/debugserver/source/debugserver.cpp')
-rw-r--r--lldb/tools/debugserver/source/debugserver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/debugserver/source/debugserver.cpp b/lldb/tools/debugserver/source/debugserver.cpp
index dc50b63bb0d..a3cae284d4f 100644
--- a/lldb/tools/debugserver/source/debugserver.cpp
+++ b/lldb/tools/debugserver/source/debugserver.cpp
@@ -704,7 +704,7 @@ main (int argc, char *argv[])
RNBRunLoopMode start_mode = eRNBRunLoopModeExit;
- while ((ch = getopt_long(argc, argv, "a:d:gi:vktl:f:w:x:r", g_long_options, &long_option_index)) != -1)
+ while ((ch = getopt_long(argc, argv, "a:d:gi:vktl:f:w:x:rs:", g_long_options, &long_option_index)) != -1)
{
DNBLogDebug("option: ch == %c (0x%2.2x) --%s%c%s\n",
ch, (uint8_t)ch,
OpenPOWER on IntegriCloud