qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Using GDB with Qemu : No Symbol Table?


From: Mulyadi Santosa
Subject: Re: [Qemu-devel] Using GDB with Qemu : No Symbol Table?
Date: Thu, 26 Jun 2008 09:16:00 +0700

Hi

On Wed, Jun 25, 2008 at 11:41 PM, Atoosah <address@hidden> wrote:
> $gdb vmlinux
> (gdb) target remote localhost:1234
> Remote debuggin using localhost:1234
> 0x0000fff0 in ?? ()
> (gdb) break main
> No symbol table is loaded. Use the "file" command.
> (gdb) c
> Continuing.

try to compile your kernel with CONFIG_DEBUG_INFO=y and
CONFIG_FRAME_POINTER=y. Both will enable gdb to easily resolve symbol
names into addresses and tracking down function call chain in stack
frame.

regards,

Mulyadi.




reply via email to

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