Skip to contentSkip to conversation

how to build a vmlinux with debugging symbols?

DISCUSSION Task Struct From Hell 2 participants 2 messages Apr 19, 2009 Kernel janitors

lore
Share & tools
lore
#0 lore raw

List,

I am trying to figure out why one of my servers crashed, I have some C and ASM knowledge and back in the 2.2 days I even wrote a few modules to the Linux kernel, but now I am completely lost in the 2.6 kbuild and as such, can someone point into some documentation on debugging vmcore's and how to enable debugging symbols so using gdb wont be as painful? :-)

---
Cheers,
TSFH

#1 lore raw
Quoted 8 lines · On Sun, 19 Apr 2009 15:18:33 +0100 Task Struct From Hell…

List,

I am trying to figure out why one of my servers crashed, I have some C and ASM knowledge and back in the 2.2 days I even wrote a few modules to the Linux kernel, but now I am completely lost in the 2.6 kbuild and as such, can someone point into some documentation on debugging vmcore's and how to enable debugging symbols so using gdb wont be as painful? :-)

Hi,

just enable CONFIG_DEBUG_INFO configure option...

(and you can use the sripts/markup_oops.pl script to help decode oopses.. no need for gdb)

Signature · 3 lines
Arjan van de Ven 	Intel Open Source Technology Centre
For development, discussion and tips for power savings, 
visit http://www.lesswatts.org