From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxPvq-0006ib-Hd for qemu-devel@nongnu.org; Tue, 04 Nov 2008 12:43:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxPvp-0006fv-2n for qemu-devel@nongnu.org; Tue, 04 Nov 2008 12:43:10 -0500 Received: from [199.232.76.173] (port=49213 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxPvo-0006ff-Me for qemu-devel@nongnu.org; Tue, 04 Nov 2008 12:43:08 -0500 Received: from mail.codesourcery.com ([65.74.133.4]:36761) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxPvn-00063N-V6 for qemu-devel@nongnu.org; Tue, 04 Nov 2008 12:43:08 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH] gdbstub: x86-64: reintroduce dynamic register sets Date: Tue, 4 Nov 2008 18:42:58 +0100 References: <491084F7.2050800@siemens.com> In-Reply-To: <491084F7.2050800@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200811041742.58859.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 Tuesday 04 November 2008, Jan Kiszka wrote: > Commit 5459 broke the dynamic register set switching of qemu's gdbstub > for x86-64. This prevents setting the correct architecture in gdb when > debugging 32 or 16-bit code in a 64-bit emulator. Fix this. Is this really a feature? Surely any attached gdb is going to break horribly when we transition from a 64-bit to a 32-bit code segment. Paul