From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FCmUt-0005SN-T7 for qemu-devel@nongnu.org; Fri, 24 Feb 2006 18:37:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FCC41-0005Vr-Kq for qemu-devel@nongnu.org; Thu, 23 Feb 2006 03:43:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FC9a8-0006g9-Cd for qemu-devel@nongnu.org; Thu, 23 Feb 2006 01:04:04 -0500 Received: from [66.249.82.206] (helo=xproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FC9gm-0003uc-Gt for qemu-devel@nongnu.org; Thu, 23 Feb 2006 01:10:56 -0500 Received: by xproxy.gmail.com with SMTP id s16so1212860wxc for ; Wed, 22 Feb 2006 22:04:03 -0800 (PST) Message-ID: <1fa17f810602222204nb7261f9la93c224f4f81832a@mail.gmail.com> Date: Thu, 23 Feb 2006 14:04:03 +0800 From: prime MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_9021_19938261.1140674643051" Subject: [Qemu-devel] Make QEMU more friendly for kernel debug 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 ------=_Part_9021_19938261.1140674643051 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello everyone, I find that I can't single step OS kernels use qemu.When I use "step" or "next" command in gdb,the kernel always enter its interrupt route instead of executing the next instruction after the breakpoint.So I modify QEMU's source code to disable interrupts in single step mode,and now I can use "step" or "next" command in gdb to single step functions. Should I post the patch? It is a very small modification. -- Three passions, simple but overwhelmingly strong, have governed my life: the longing for love, the search for knowledge, and unbearable pity for the suffering of mankind. ---------Bertrand Russell ------=_Part_9021_19938261.1140674643051 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello everyone,
   I find that I can't single step OS kernels use qemu.When I use= "step"
or "next" command in gdb,the kernel always enter its interrupt ro= ute
instead of executing the next instruction after the breakpoint.So I modify<= br> QEMU's source code to disable interrupts in single step mode,and now I
can use "step" or "next" command in gdb to single step = functions.

   Should I post the patch? It is a very small modification.

--
Three passions, simple but overwhelmingly strong, h= ave governed my life:
the longing for love, the search for knowledge, a= nd unbearable pity for=20
the suffering of mankind.
       =             &nb= sp;     ---------Bertrand Russell
------=_Part_9021_19938261.1140674643051--