Skip to content

Commit

Permalink
Update gdb.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lwindolf authored Dec 30, 2024
1 parent 0808034 commit 4ba0ceb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Cheat Sheets/Languages/gdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@ Loading an existing core file

gdb <binary> --core=<core file>

## Creating core dumps

Ensure a crashing application creates a core dump

ulimit -c unlimited

Now run your application and a `core` file in the current directory should be created.

## GDB CLI

bt # Show call stack
Expand Down

0 comments on commit 4ba0ceb

Please sign in to comment.