* show all back trace in gdb:
thread apply all bt
* activate core dump (in a shell):
ulimit -c unlimited
ulimit -c 6000000
* load gdb with a core dump (in a shell):
gdb executable coredump
* walk up and down in the stack, to inspect variables in other places of the stack too, not just the current function.
up, down
* layout mode (TUI) (to see src and asm):
- switch between mode : c-x a
- switch between windows : c-x o
- command line to activate mode :
layout split
layout src
layout regs
layout asm