From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMm8U-0000bH-UP for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:29:02 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMm8T-0000aB-2M for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:29:02 -0500 Received: from [199.232.76.173] (port=55157 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMm8S-0000a0-Rh for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:29:00 -0500 Received: from an-out-0708.google.com ([209.85.132.241]:33171) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMm8S-0000Eh-86 for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:29:00 -0500 Received: by an-out-0708.google.com with SMTP id c38so47533ana.37 for ; Tue, 13 Jan 2009 08:28:59 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <6DAAE056-B357-4760-AF7D-3E2112240EDD@adacore.com> References: <6DAAE056-B357-4760-AF7D-3E2112240EDD@adacore.com> Date: Tue, 13 Jan 2009 18:28:59 +0200 Message-ID: Subject: Re: [Qemu-devel] [PATCH] sparc gdbserver: fix number of regs From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 On 1/13/09, Tristan Gingold wrote: > Hi, > > gdbstubs.c set the number of regs for sparc32 to 73 but gdb expects only > 72. As a consequence, gdb > doesn't accept 'g' packets (packets too long). > This patch reduces the number of registers to 72. This is harmless as the > 72nd register is not used and > gdb accepts packets that contains less registers. Excellent! Now my cross-gdb also works. The patch didn't apply but I fixed it manually and then applied. Maybe Sparc64 has the same problem?