[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

llvm-svn: 360269
This commit is contained in:
Jonas Devlieghere 2019-05-08 16:31:47 +00:00
parent e461e9a77d
commit 9f15718b3d
1 changed files with 2 additions and 0 deletions

View File

@ -51,6 +51,8 @@ Execution Commands
<td class="content"> <td class="content">
<b>(lldb)</b> process launch -- &lt;args&gt; <b>(lldb)</b> process launch -- &lt;args&gt;
<br> <br>
<b>(lldb)</b> run &lt;args&gt;
<br>
<b>(lldb)</b> r &lt;args&gt; <b>(lldb)</b> r &lt;args&gt;
</td> </td>
</tr> </tr>