qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Lin


From: Srinivasan Jayarajan
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

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<address@hidden> 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<address@hidden> wrote:
>> On 7/13/09, Srinivasan Jayarajan <address@hidden> 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 via email to

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