diff --git a/pages/common/gdb.md b/pages/common/gdb.md index 37e8696226..fa18ff1440 100644 --- a/pages/common/gdb.md +++ b/pages/common/gdb.md @@ -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}}`