[Lldb-commits] [lldb] r187270 - Document "show args" -> "settings show target.run-args"

Jim Ingham jingham at apple.com
Fri Jul 26 16:20:05 PDT 2013


Author: jingham
Date: Fri Jul 26 18:20:05 2013
New Revision: 187270

URL: http://llvm.org/viewvc/llvm-project?rev=187270&view=rev
Log:
Document "show args" -> "settings show target.run-args"

Modified:
    lldb/trunk/www/lldb-gdb.html

Modified: lldb/trunk/www/lldb-gdb.html
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/www/lldb-gdb.html?rev=187270&r1=187269&r2=187270&view=diff
==============================================================================
--- lldb/trunk/www/lldb-gdb.html (original)
+++ lldb/trunk/www/lldb-gdb.html Fri Jul 26 18:20:05 2013
@@ -80,6 +80,23 @@
                         </td>
                     </tr>
 
+                    <tr><td class="header" colspan="2">Or:</td></tr>
+                        <td class="content">
+                            <b>(gdb)</b> set args 1 2 3<br>
+                            <b>(gdb)</b> run<br>
+                            ...<br>
+                            <b>(gdb)</b> run<br>
+                            ...<br>
+                        </td>
+                        <td class="content">
+                            <b>(lldb)</b> settings set target.run-args 1 2 3<br>
+                            <b>(lldb)</b> run<br>
+                            ...<br>
+                            <b>(lldb)</b> run<br>
+                            ...<br>
+                        </td>
+                    </tr>
+
                     <tr><td class="header" colspan="2">Launch a process with arguments in new terminal window (Mac OS X only).</td></tr>
                         <td class="content">
                         </td>
@@ -109,6 +126,21 @@
                         </td>
                     </tr>
 
+                    <tr><td class="header" colspan="2">Show the arguments that will be or were passed to the program when run.</td></tr>
+                        <td class="content">
+                            <b>(gdb)</b> show args<br>
+                            Argument list to give program being debugged when it is started is "1 2 3&quot.<br>
+                        </td>
+                        <td class="content">
+                            <b>(lldb)</b> settings show target.run-args<br>
+                            target.run-args (array of strings) =<br>
+                            [0]: "1"<br>
+                            [1]: "2"<br>
+                            [2]: "3"<br>
+                        </td>
+                    </tr>
+
+
                     <tr><td class="header" colspan="2">Set environment variables for process and launch process in one command.</td></tr>
                         <td class="content">
                         </td>





More information about the lldb-commits mailing list