bug-gdb
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gdb show ?? symbols


From: 清水河
Subject: Re: gdb show ?? symbols
Date: Wed, 23 Dec 2009 17:25:21 -0800 (PST)
User-agent: G2/1.0

On Dec 24, 2:00 am, Alexandre Rusev <address@hidden> wrote:
> 你好!;)
>
> 清水河 wrote:
> > Hi, I tried to use gdb to debug kernel code.
> > I compiled with -g -ggdb flags, but it seems gdb cannot show symbols
> > correctly, instead it shows all ??
>
> compile kernel with debug information.
> In kernel compilation menu "make menuconfig" select Kernel
> Hucking->Compile kernel with Debug information,
> there are anumber of kernel debugging related options to turn on.
>
> Which processor architecture you compiling your kernel for?

Hi, it is i386. Seems there is no "Compile kernel with Debug
information" option, under "kernel debugging", there are several debug
options, like "Debug shared IRQ handlers", "Detect Soft Lockups", etc,
but which one is the option that have the source information?

>
> > Remote debugging using /dev/pts/11
> > 0xc0467118 in ?? ()
> > (gdb) where
> > #0  0xc0467118 in ?? ()
> > #1  0xc077db2d in ?? ()
> > #2  0x00000000 in ?? ()
>
> > how to solve this problem?
> > _______________________________________________
> > bug-gdb mailing list
> > address@hidden
> >http://lists.gnu.org/mailman/listinfo/bug-gdb



reply via email to

[Prev in Thread] Current Thread [Next in Thread]