gdb: add core file example (#3021)

italian
Bruno Bigras 2019-05-13 21:24:17 -04:00 committed by Marco Bonelli
parent 18d6560a53
commit e6b313afab
1 changed files with 4 additions and 0 deletions

View File

@ -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}}`