From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LMm7w-0000L5-Uj for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:28:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LMm7u-0000Jx-TK for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:28:28 -0500 Received: from [199.232.76.173] (port=55140 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LMm7u-0000Jk-K4 for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:28:26 -0500 Received: from mail-bw0-f21.google.com ([209.85.218.21]:33352) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LMm7u-0008Uh-9T for qemu-devel@nongnu.org; Tue, 13 Jan 2009 11:28:26 -0500 Received: by bwz14 with SMTP id 14so280572bwz.10 for ; Tue, 13 Jan 2009 08:28:22 -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:22 +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?