From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ddra2-0006Ap-7i for qemu-devel@nongnu.org; Thu, 02 Jun 2005 11:25:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DdrZv-00067R-SN for qemu-devel@nongnu.org; Thu, 02 Jun 2005 11:25:52 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DdrZv-000616-8g for qemu-devel@nongnu.org; Thu, 02 Jun 2005 11:25:51 -0400 Received: from [168.96.156.35] (helo=agro.uba.ar) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DdrWd-00005X-HP for qemu-devel@nongnu.org; Thu, 02 Jun 2005 11:22:28 -0400 Received: from [168.96.156.99] (petrus.agro.uba.ar [168.96.156.99]) by agro.uba.ar (8.12.8/8.12.8) with ESMTP id j52FK5fh008179 for ; Thu, 2 Jun 2005 12:20:05 -0300 Message-ID: <429F23A5.5000904@agro.uba.ar> Date: Thu, 02 Jun 2005 12:20:05 -0300 From: Mariano Wahlmann MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: Debugging guest OS References: <429EFEE0.4020003@agro.uba.ar> <87fyw0onk4.fsf@benpfaff.org> In-Reply-To: <87fyw0onk4.fsf@benpfaff.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable 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 Ben Pfaff wrote: >Mariano Wahlmann writes: > > =20 > >>I want to know, if it's posible to debug an guest OS like bochs, i >>mean disassemble current instruction, step by step running, >>possibility of change registers values, etc. I try to use GDB, but i >>think this is for debbuging qemu itself. >> =20 >> > >You can use gdb on the guest if you invoke qemu with -s. > =20 > that's right, thanks but in order to disassemble i have to do "display /i $cs * 16 + $eip",=20 this is for real mode, what is the syntaxis for protected mode? is there any varible that contains a pointer to current virtual address=20 of the next instruction. --=20 ________________________________________________________ Mariano Agust=EDn Wahlmann Administrador de Red Facultad de Agronom=EDa - Buenos Aires - Argentina Te.: (+54 11) 4524-8000 int.8108 email: mailto:wahlmann@agro.uba.ar www: http://www.agro.uba.ar