improve 'start at first instruction' docs (#3222)

pull/3224/head
k4lizen 4 months ago committed by GitHub
parent d817efc328
commit 1b2475f6bf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -10,7 +10,7 @@ Start the debugged program stopping at its entrypoint address.
Note that the entrypoint may not be the first instruction executed
by the program. If you want to stop on the first executed instruction,
use the GDB's `starti` command.
use the GDB's `starti` command or LLDB's `process launch -s`.
Args may include "*", or "[...]"; they are expanded using the
shell that will start the program (specified by the "$SHELL" environment

@ -41,5 +41,5 @@ For users who are migrating from one debugger to another, here is a table compar
| **Set Architecture** | `set architecture <arch>` | `target create --arch <arch> <executable-file>` |
| **Show Settings** | `show <setting-name>` | `settings show <setting-name>` |
| **Set File for Debugging** | `file <executable-file>` | `target create <executable-file>` |
| **Start the Program and Run One Instruction** | `starti` | `process launch --stop-at-entry` |
| **Start the Program at the First Instruction**| `starti` | `process launch --stop-at-entry` |
| **Enable ASLR** | `set disable-randomization off` | `settings set target.disable-aslr false` |

@ -107,7 +107,7 @@ Start the debugged program stopping at its entrypoint address.
Note that the entrypoint may not be the first instruction executed
by the program. If you want to stop on the first executed instruction,
use the GDB's `starti` command.
use the GDB's `starti` command or LLDB's `process launch -s`.
Args may include "*", or "[...]"; they are expanded using the
shell that will start the program (specified by the "$SHELL" environment

Loading…
Cancel
Save