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: Mulyadi Santosa
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

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]