qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Srinivasan Jayarajan <srinivasan.jayarajan.lnxkrnl@gmail.com>
To: Mulyadi Santosa <mulyadi.santosa@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: Tue, 4 Aug 2009 11:22:32 +0530	[thread overview]
Message-ID: <50fb67e90908032252q4363b7bahdbe497408be14cc6@mail.gmail.com> (raw)
In-Reply-To: <50fb67e90907130212q19bbd115g71d793e601a6c6c9@mail.gmail.com>

I got the same setup working on a pure 32 bit machine (32 bit
processor and 32 bit Fedora).
I was earlier using a machine running 32 bit Fedora on a  64 bit
processor (AMD Athlon(tm) 64 X2 Dual Core Processor 4400+).

Thanks for all the help
 -Srini

On Mon, Jul 13, 2009 at 2:42 PM, Srinivasan
Jayarajan<srinivasan.jayarajan.lnxkrnl@gmail.com> wrote:
> CONFIG_DEBUG_INFO was also turned on in the kernel config
> (http://qemu-forum.ipi.fi/download/file.php?id=497).
>
> Thanks,
> -Srini
>
>
> On Mon, Jul 13, 2009 at 10:41 AM, Mulyadi
> Santosa<mulyadi.santosa@gmail.com> wrote:
>> 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
>>
>

      reply	other threads:[~2009-08-04  5:52 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
2009-07-13  9:12   ` Srinivasan Jayarajan
2009-08-04  5:52     ` Srinivasan Jayarajan [this message]

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=50fb67e90908032252q4363b7bahdbe497408be14cc6@mail.gmail.com \
    --to=srinivasan.jayarajan.lnxkrnl@gmail.com \
    --cc=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).