Skip to main content

Thread: Running gdb core dump


hi guys, i'm having troubble figuring out how analyze core dump of code using gdb. according website: http://www.cprogramming.com/debugging/segfaults.html, meerly need type in
$gdb radxfer core

, tell me need know; however, when type in get:
code:
daniel@daniel-ep45-ud3l:~/desktop/cprogramming/project$ gdb radxfer core gnu gdb (ubuntu/linaro 7.3-0ubuntu2) 7.3-2011.08 copyright (c) 2011 free software foundation, inc. license gplv3+: gnu gpl version 3 or later <http://gnu.org/licenses/gpl.html> free software: free change , redistribute it. there no warranty, extent permitted law.  type "show copying" , "show warranty" details. gdb configured "x86_64-linux-gnu". bug reporting instructions, please see: <http://bugs.launchpad.net/gdb-linaro/>... reading symbols /home/daniel/desktop/cprogramming/project/radxfer...(no debugging symbols found)...done. /home/daniel/desktop/cprogramming/project/core: no such file or directory. (gdb) ^z [4]+  stopped                 gdb radxfer core
i don't know telling me. ideas appreciated.

for starters, no, gdb not "tell need know". tool, not magic wand. have investigating (how depends on problem).

true if, case here, compiled without -g flag (which adds debugging symbols, without gdb pretty useless).

finally, need replace "core" name of core dump file. think default core dumps disabled, run

code:
ulimit -c unlimited
to enable them. also, here's a gdb tutorial. sound need it.


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Running gdb core dump


Ubuntu

Comments

Popular posts from this blog

Falang and too many redirects - Joomla! Forum - community, help and support

Infinite loop detected in JErrorInfinite loop detected in JError - Joomla! Forum - community, help and support

logged out from joomla! - Joomla! Forum - community, help and support