mirror of https://github.com/CrimsonTome/tldr.git
gdb: add core file example (#3021)
parent
18d6560a53
commit
e6b313afab
|
@ -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…
Reference in New Issue