From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYCwz-00026O-99 for qemu-devel@nongnu.org; Tue, 04 Aug 2009 01:52:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYCwt-000248-VG for qemu-devel@nongnu.org; Tue, 04 Aug 2009 01:52:40 -0400 Received: from [199.232.76.173] (port=56428 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYCwt-00023p-Ev for qemu-devel@nongnu.org; Tue, 04 Aug 2009 01:52:35 -0400 Received: from mail-vw0-f125.google.com ([209.85.212.125]:60518) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYCwt-0003QD-22 for qemu-devel@nongnu.org; Tue, 04 Aug 2009 01:52:35 -0400 Received: by vws31 with SMTP id 31so64234vws.4 for ; Mon, 03 Aug 2009 22:52:34 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <50fb67e90907130212q19bbd115g71d793e601a6c6c9@mail.gmail.com> References: <50fb67e90907122054j72fb2666m71d9cba7da2798ba@mail.gmail.com> <50fb67e90907130212q19bbd115g71d793e601a6c6c9@mail.gmail.com> Date: Tue, 4 Aug 2009 11:22:32 +0530 Message-ID: <50fb67e90908032252q4363b7bahdbe497408be14cc6@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 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 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 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 >> >