mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-04 12:35:34 +02:00
gdb: add core file example (#3021)
This commit is contained in:
parent
18d6560a53
commit
e6b313afab
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@
|
|||
|
||||
`gdb -p {{procID}}`
|
||||
|
||||
- Debug with a core file:
|
||||
|
||||
`gdb -c {{core}} {{executable}}`
|
||||
|
||||
- Execute given GDB commands upon start:
|
||||
|
||||
`gdb -ex "{{commands}}" {{executable}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue