[Lldb-commits] [lldb] r360269 - [Docs] list command: lldb run <args>

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Wed May 8 09:31:48 PDT 2019


Author: jdevlieghere
Date: Wed May  8 09:31:47 2019
New Revision: 360269

URL: http://llvm.org/viewvc/llvm-project?rev=360269&view=rev
Log:
[Docs] list command: lldb run <args>

The run command is only an abbreviation for the more verbose process
launch -- <args> but it works just as with GDB and therefore should be
mentioned in the GDB to LLDB command map.

For educational purposes I've not listed it as the first option on the
LLDB side so that new LLDB user can, if they want, also know what the
"native" way is for LLDB.

Here's the help documentation for the run command in lldb which gives
proof:

> (lldb) help run
>      Launch the executable in the debugger.
>
> Syntax: run [<run-args>]
>
> Command Options Usage:
>   run [<run-args>]
>
> 'run' is an abbreviation for 'process launch -c /bin/sh --'

Patch by: Konrad Kleine

Differential revision: https://reviews.llvm.org/D61483

Modified:
    lldb/trunk/docs/use/map.rst

Modified: lldb/trunk/docs/use/map.rst
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/docs/use/map.rst?rev=360269&r1=360268&r2=360269&view=diff
==============================================================================
--- lldb/trunk/docs/use/map.rst (original)
+++ lldb/trunk/docs/use/map.rst Wed May  8 09:31:47 2019
@@ -51,6 +51,8 @@ Execution Commands
                <td class="content">
                   <b>(lldb)</b> process launch -- <args>
                   <br>
+                  <b>(lldb)</b> run <args>
+                  <br>
                   <b>(lldb)</b> r <args>
                </td>
          </tr>




More information about the lldb-commits mailing list