From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HeYNm-0007ft-Am for qemu-devel@nongnu.org; Thu, 19 Apr 2007 11:17:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HeYNj-0007fh-V5 for qemu-devel@nongnu.org; Thu, 19 Apr 2007 11:17:13 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HeYNj-0007fe-Pb for qemu-devel@nongnu.org; Thu, 19 Apr 2007 11:17:11 -0400 Received: from mail.codesourcery.com ([65.74.133.4]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HeYIl-00025G-M1 for qemu-devel@nongnu.org; Thu, 19 Apr 2007 11:12:03 -0400 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCH] x86_64 debug registers for gdb Date: Thu, 19 Apr 2007 16:11:59 +0100 References: <45105864.9090902@windriver.com> <4626853D.1070708@web.de> In-Reply-To: <4626853D.1070708@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200704191612.00346.paul@codesourcery.com> 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 Cc: Jan Kiszka On Wednesday 18 April 2007 21:53, Jan Kiszka wrote: > Jason Wessel wrote: > > This patch fixes the registers for the 'g' and 'G' packets for the > > qemu-system-x86_64 target. It allows gdb 6.5 to debug a linux kernel > > and get a stack back trace. > > Here comes a corrected (RBX and RDX were mixed) and slightly enhanced > (segment register reading, don't know how writing should look like) > version of this patch. Tested successfully with qemu-0.9.0 and gdb-6.6. > Would be nice to see this support in the next qemu release. Can't you recycle the i386 code, like other 64-bit targets do? Paul