Re: Why is there no debug symbols in my vmlinux?

From: AmÃrico Wang
Date: Tue Mar 29 2011 - 05:48:08 EST


On Tue, Mar 29, 2011 at 2:56 PM, Mr Shore <shore.cloud@xxxxxxxxx> wrote:
> Hi all!
>
> I've configure all `CONFIG_DEBUG_` related options to `y`,but when I
> try to debug the kernel,it says no debug symbols found:
>
> Â Âgdb /usr/src/linux-2.6.32.9/vmlinux /proc/kcore
>
> Â ÂReading symbols from /usr/src/linux-2.6.32.9/vmlinux...(no
> debugging symbols found)...done.
>
> And I've checked with `make V=1` that there is the -g flag.
>

Hmm, especially CONFIG_DEBUG_INFO and CONFIG_DEBUG_KERNEL.

>
> Why, is this a known issue?
>

No, I will try to see if I can reproduce it here.
--
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/