From: Atoosah <atoosaah@gmail.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] Using GDB with Qemu : No Symbol Table?
Date: Wed, 25 Jun 2008 09:41:51 -0700 [thread overview]
Message-ID: <c3578ab90806250941o557c257eheb1fc0735d4e8909@mail.gmail.com> (raw)
Hi,
-- I'm using qemu version 0.8.2 on linux. I need some pointers on how
to run qemu with gdb.
[installed_qemu/bin]$./qemu mydisk.img -m 256 -s -S
-- At this point, qemu loads up and waits on port 1234. qemu's console
output is:
Waiting gdb connection on port 1234
-- But, when I run gdb, and try to put a break statement before
continuing, gdb states that there is no symbol table as shown below.
(I don't have a symbol table compiled in the a file, so can't use
"file" command.) The qemu options available to me does not have a -g
option (as I've seen used in some examples).
$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.
Program received signal SIGINT, Interrupt.
(gdb) list
No symbol table is loaded. Use the "file" command.
(gdb) where
#0 0xc0101040 in ?? ()
#1 0xc01010ac4 in ?? ()
...
-- Any ideas why there would be no symbol table available to gdb? Are
there any steps I'm missing? Do I need to compile qemu differently?
thank you,
Atoosaah
next reply other threads:[~2008-06-25 16:41 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-25 16:41 Atoosah [this message]
2008-06-26 2:16 ` [Qemu-devel] Using GDB with Qemu : No Symbol Table? Mulyadi Santosa
-- 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=c3578ab90806250941o557c257eheb1fc0735d4e8909@mail.gmail.com \
--to=atoosaah@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).