Add tip about !cmd syntax in gdb (#2936)

* add !cmd tip

* reword tip

Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>

---------

Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>
pull/2940/head
k4lizen 7 months ago committed by GitHub
parent 9539d50d49
commit 3e8ff21031
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -16,6 +16,7 @@ GDB_TIPS: List[str] = [
"If you have debugging symbols the `info args` command shows current frame's function arguments (use `up` and `down` to switch between frames)",
'Calling functions like `call (void)puts("hello world")` will run all other target threads for the time the function runs. Use `set scheduler-locking on` to lock the execution to current thread when calling functions',
"Use the `pipe <cmd> | <prog>` command to pass output of a GDB/Pwndbg command to a shell program, e.g. `pipe elfsections | grep bss`. This can also be shortened to: `| <cmd> | <prog>`",
"Prefixing a command with `!` in GDB will execute it as a shell command, e.g.: `!ls` or `!cat flag.txt`",
]
# Pwndbg specific tips

Loading…
Cancel
Save