Re: how to build a vmlinux with debugging symbols?

From: Arjan van de Ven
Date: Sun Apr 19 2009 - 10:27:49 EST


On Sun, 19 Apr 2009 15:18:33 +0100
Task Struct From Hell <taskstructfromhell@xxxxxxxxxxxxxx> wrote:

> 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)


--
Arjan van de Ven Intel Open Source Technology Centre
For development, discussion and tips for power savings,
visit http://www.lesswatts.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/