HomePhabricator

[Docs] list command: lldb run <args>
8e93082d88fcUnpublished

Authored by JDevlieghere on May 8 2019, 9:31 AM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

[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

Details