From: Mulyadi Santosa <mulyadi.santosa@gmail.com>
To: Srinivasan Jayarajan <srinivasan.jayarajan.lnxkrnl@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30
Date: Mon, 13 Jul 2009 12:11:45 +0700 [thread overview]
Message-ID: <f284c33d0907122211o56b329d1l947f43d56532db1f@mail.gmail.com> (raw)
In-Reply-To: <50fb67e90907122054j72fb2666m71d9cba7da2798ba@mail.gmail.com>
On 7/13/09, Srinivasan Jayarajan <srinivasan.jayarajan.lnxkrnl@gmail.com> wrote:
> I am able to attach to QEMU using GDB and halt the execution using
> Ctrl-C. But any break points set are not hit and I don't see any
> symbol information. I have compiled the kernel with
> CONFIG_DEBUG_KERNEL=y and CONFIG_FRAME_POINTER=y. Any help is
> appreciated.
>
> More info at http://qemu-forum.ipi.fi/viewtopic.php?f=10&t=5133
You also need to turn CONFIG_DEBUG_INFO=y. DEBUG_KERNEL is not the
same as DEBUG_INFO.
As far as I can check inside qemu's code (within my limited
knowledge), breakpoint codes are seems correctly generated at the
right address.
--
regards,
Mulyadi Santosa
Freelance Linux trainer
blog: the-hydra.blogspot.com
next prev parent reply other threads:[~2009-07-13 5:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-13 3:54 [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30 Srinivasan Jayarajan
2009-07-13 5:11 ` Mulyadi Santosa [this message]
2009-07-13 9:12 ` Srinivasan Jayarajan
2009-08-04 5:52 ` Srinivasan Jayarajan
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=f284c33d0907122211o56b329d1l947f43d56532db1f@mail.gmail.com \
--to=mulyadi.santosa@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=srinivasan.jayarajan.lnxkrnl@gmail.com \
/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).