Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HvusK-0006ZQ-Sq for qemu-devel@nongnu.org; Wed, 06 Jun 2007 08:44:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HvusJ-0006Z1-9Q for qemu-devel@nongnu.org; Wed, 06 Jun 2007 08:44:32 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HvusI-0006Yy-Tr for qemu-devel@nongnu.org; Wed, 06 Jun 2007 08:44:31 -0400 Received: from nz-out-0506.google.com ([64.233.162.236]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HvusI-00063g-9B for qemu-devel@nongnu.org; Wed, 06 Jun 2007 08:44:30 -0400 Received: by nz-out-0506.google.com with SMTP id 18so249486nzp for ; Wed, 06 Jun 2007 05:44:29 -0700 (PDT) From: "xdutaotao" Date: Wed, 6 Jun 2007 20:43:52 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C7A87B.6B691100" Message-ID: <4666ac2b.09d5a4ca.4abf.ffffc928@mx.google.com> Subject: [Qemu-devel] How to debug QEMU with GDB?? Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This is a multi-part message in MIME format. ------=_NextPart_000_000E_01C7A87B.6B691100 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, I want to debug QEMU, but unfortunately after I set breakpoint in someplace of QEMU, then continue to run, GDB give me the message: "Continuing. Warning: Cannot insert breakpoint 1. Error accessing memory address 0x2dad0: IN/OUT ERROR." So I have to ask some question here? 1) How to find bug in QEMU if GDB doesn't work with QEMU? 2) What did you do when you must test your code of QEMU? Thank you! ------=_NextPart_000_000E_01C7A87B.6B691100 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

I want to debug QEMU, but unfortunately after I = set breakpoint in someplace of QEMU, then continue to run, GDB give me the = message:

 

“Continuing.

Warning:

Cannot insert breakpoint = 1.

Error accessing memory address 0x2dad0: IN/OUT = ERROR.”

 

So I have to ask some question = here?

1)       = How to find bug in QEMU if GDB doesn't work with = QEMU?

2)       = What did you do when you must test your code of = QEMU?

 

Thank you!

------=_NextPart_000_000E_01C7A87B.6B691100--