Gdb

From Hackepedia
Jump to navigationJump to search

You have a corefile, like xine.core. gdb $program $corefile:

gdb /usr/X11R6/bin/xine ./xine.core


An example in gdb to find out where your application crashed (the CPU instruction in memory):

(gdb) where
#0 0x0000ealf
(gdb) disass

and look for 0x0000ealf