qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Mulyadi Santosa" <mulyadi.santosa@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Using GDB with Qemu : No Symbol Table?
Date: Thu, 26 Jun 2008 09:16:00 +0700	[thread overview]
Message-ID: <f284c33d0806251916w6828796ayca74ffe118b1d10a@mail.gmail.com> (raw)
In-Reply-To: <c3578ab90806250941o557c257eheb1fc0735d4e8909@mail.gmail.com>

Hi

On Wed, Jun 25, 2008 at 11:41 PM, Atoosah <atoosaah@gmail.com> 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	other threads:[~2008-06-26  2:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-25 16:41 [Qemu-devel] Using GDB with Qemu : No Symbol Table? Atoosah
2008-06-26  2:16 ` Mulyadi Santosa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-07-08  0:42 Atoosah
2008-07-08 14:34 ` Daniel Jacobowitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f284c33d0806251916w6828796ayca74ffe118b1d10a@mail.gmail.com \
    --to=mulyadi.santosa@gmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).