Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KpmAR-0001Dj-1n for qemu-devel@nongnu.org; Tue, 14 Oct 2008 11:50:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KpmAP-0001Bx-CQ for qemu-devel@nongnu.org; Tue, 14 Oct 2008 11:50:38 -0400 Received: from [199.232.76.173] (port=38491 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KpmAP-0001Br-5u for qemu-devel@nongnu.org; Tue, 14 Oct 2008 11:50:37 -0400 Received: from hall.aurel32.net ([88.191.82.174]:44669) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KpmAO-0005fn-Ol for qemu-devel@nongnu.org; Tue, 14 Oct 2008 11:50:37 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KpmAJ-0000qH-Sp for qemu-devel@nongnu.org; Tue, 14 Oct 2008 17:50:31 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1KpmAJ-0006nc-7t for qemu-devel@nongnu.org; Tue, 14 Oct 2008 17:50:31 +0200 Date: Tue, 14 Oct 2008 17:50:31 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH] gdbstub: remove unused local variable Message-ID: <20081014155031.GB25229@volta.aurel32.net> References: <48F46265.3000007@siemens.com> <20081014125710.GI18389@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <20081014125710.GI18389@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 On Tue, Oct 14, 2008 at 05:57:11AM -0700, Nathan Froyd wrote: > On Tue, Oct 14, 2008 at 11:12:05AM +0200, Jan Kiszka wrote: > > --- a/gdbstub.c > > +++ b/gdbstub.c > > @@ -604,8 +604,6 @@ static int cpu_gdb_write_register(CPUSta > > #else > > else if (n < 64) { > > /* f0-f31 */ > > - uint32_t fpr; > > - > > env->fpr[n] = ldfl_p(mem_buf); > > return 4; > > } else if (n < 80) { > > And if somebody wanted to fix that to return 8 instead of 4, that'd be > great too. :) > What's the rational behind that? AFAIK f0-f31 "registers" are 32-bit "registers", even on SPARC64. -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net