August 2011
Intermediate to advanced
552 pages
23h 48m
English
You can see a stack trace, that is, all of the currently active functions, with the where command (also backtrace and bt). It will show you the stack frames currently active:
(gdb) where
#0 0x00007fff82f7a120 in strlen ()
#1 0x00007fff82f85b1c in __vfprintf ()
#2 0x00007fff82fc6dcb in vfprintf_l ()
#3 0x00007fff82ff4483 in printf ()
#4 0x0000000100000dec in main (argc=2, argv=0x7fff5fbff240) at memerror.m:82
The bottom-most frame, main() in this case, is termed the “innermost” stack frame. The ...
Read now
Unlock full access