From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQHaM-0002ke-Ch for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:12:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQHaH-0002gF-Jz for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:12:33 -0400 Received: from [199.232.76.173] (port=48997 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQHaH-0002gC-A1 for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:12:29 -0400 Received: from mail-yx0-f104.google.com ([209.85.210.104]:64050) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQHaH-0008Sa-33 for qemu-devel@nongnu.org; Mon, 13 Jul 2009 05:12:29 -0400 Received: by yxe2 with SMTP id 2so213410yxe.4 for ; Mon, 13 Jul 2009 02:12:28 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <50fb67e90907122054j72fb2666m71d9cba7da2798ba@mail.gmail.com> Date: Mon, 13 Jul 2009 14:42:28 +0530 Message-ID: <50fb67e90907130212q19bbd115g71d793e601a6c6c9@mail.gmail.com> Subject: Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30 From: Srinivasan Jayarajan Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mulyadi Santosa Cc: qemu-devel@nongnu.org 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 wrote: > On 7/13/09, Srinivasan Jayarajan 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 >