From 45228fd2fb646df3f7c2351182e734f5c00dc47c Mon Sep 17 00:00:00 2001 From: Jim Ingham Date: Fri, 26 Jul 2013 23:20:05 +0000 Subject: [PATCH] Document "show args" -> "settings show target.run-args" llvm-svn: 187270 --- lldb/www/lldb-gdb.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/lldb/www/lldb-gdb.html b/lldb/www/lldb-gdb.html index ea7c1a309045..58106343cfe8 100755 --- a/lldb/www/lldb-gdb.html +++ b/lldb/www/lldb-gdb.html @@ -80,6 +80,23 @@ + Or: + + (gdb) set args 1 2 3
+ (gdb) run
+ ...
+ (gdb) run
+ ...
+ + + (lldb) settings set target.run-args 1 2 3
+ (lldb) run
+ ...
+ (lldb) run
+ ...
+ + + Launch a process with arguments in new terminal window (Mac OS X only). @@ -109,6 +126,21 @@ + Show the arguments that will be or were passed to the program when run. + + (gdb) show args
+ Argument list to give program being debugged when it is started is "1 2 3".
+ + + (lldb) settings show target.run-args
+ target.run-args (array of strings) =
+ [0]: "1"
+ [1]: "2"
+ [2]: "3"
+ + + + Set environment variables for process and launch process in one command.