* [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30
@ 2009-07-13 3:54 Srinivasan Jayarajan
2009-07-13 5:11 ` Mulyadi Santosa
0 siblings, 1 reply; 4+ messages in thread
From: Srinivasan Jayarajan @ 2009-07-13 3:54 UTC (permalink / raw)
To: qemu-devel
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
Thanks,
Srini
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30
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
0 siblings, 1 reply; 4+ messages in thread
From: Mulyadi Santosa @ 2009-07-13 5:11 UTC (permalink / raw)
To: Srinivasan Jayarajan; +Cc: qemu-devel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30
2009-07-13 5:11 ` Mulyadi Santosa
@ 2009-07-13 9:12 ` Srinivasan Jayarajan
2009-08-04 5:52 ` Srinivasan Jayarajan
0 siblings, 1 reply; 4+ messages in thread
From: Srinivasan Jayarajan @ 2009-07-13 9:12 UTC (permalink / raw)
To: Mulyadi Santosa; +Cc: qemu-devel
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
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30
2009-07-13 9:12 ` Srinivasan Jayarajan
@ 2009-08-04 5:52 ` Srinivasan Jayarajan
0 siblings, 0 replies; 4+ messages in thread
From: Srinivasan Jayarajan @ 2009-08-04 5:52 UTC (permalink / raw)
To: Mulyadi Santosa; +Cc: qemu-devel
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
>>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-04 5:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).