gdb symbol problem

Hushan Jia
Sun Dec 27 03:45:00 GMT 2009

On Sun, Dec 27, 2009 at 11:36 AM, Paul Pluzhnikov
<> wrote:
> On Sat, Dec 26, 2009 at 6:16 PM, Hushan Jia <> wrote:
>> I invoke gdb like this:
>> [hushan@hushan-t linux-]$ gdb ./vmlinux
> Oh, you are not debugging a regular application. You probably should
> have mentioned that in your initial message.

Sorry for forget the important information.

>> (gdb) target remote /dev/pts/5
> What is on the "other end" of /dev/pts/5 ?

Hi, the other end is console output redirected from qemu emulator, I
have added "kgdboc=ttyS0,115200 kgdbwait" parameter to the kernel.

>>> My crystal ball tells me you didn't supply GDB with the executable you
>>> are running.
> My crystal ball now tells me that you are stopped in a loadable kernel
> module. AFAIU, GDB has no way to automatically find what is loaded
> where in the target kernel.

Remote debugging using /dev/pts/11
0xc0467118 in ?? ()

above message is output when I connected to pts initially, and the
kernel is waiting for remote gdb's connect, so I dont think it is in a

> You might want to read:
> Cheers,
> --
> Paul Pluzhnikov

Thanks & Regards,
Hushan Jia

More information about the Gdb mailing list