From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQDpV-0005xd-0W for qemu-devel@nongnu.org; Mon, 13 Jul 2009 01:11:57 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQDpQ-0005wI-1E for qemu-devel@nongnu.org; Mon, 13 Jul 2009 01:11:56 -0400 Received: from [199.232.76.173] (port=49455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQDpP-0005w5-Bp for qemu-devel@nongnu.org; Mon, 13 Jul 2009 01:11:51 -0400 Received: from wf-out-1314.google.com ([209.85.200.168]:11242) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQDpP-0003ZO-3J for qemu-devel@nongnu.org; Mon, 13 Jul 2009 01:11:51 -0400 Received: by wf-out-1314.google.com with SMTP id 26so686400wfd.4 for ; Sun, 12 Jul 2009 22:11:45 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <50fb67e90907122054j72fb2666m71d9cba7da2798ba@mail.gmail.com> References: <50fb67e90907122054j72fb2666m71d9cba7da2798ba@mail.gmail.com> Date: Mon, 13 Jul 2009 12:11:45 +0700 Message-ID: Subject: Re: [Qemu-devel] Breakpoints not hit using QEMU 0.10.5, GDB 6.8 and Linux kernel 2.6.30 From: Mulyadi Santosa Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Srinivasan Jayarajan Cc: qemu-devel@nongnu.org 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