From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30830 invoked by alias); 8 Dec 2011 09:04:33 -0000 Received: (qmail 30817 invoked by uid 22791); 8 Dec 2011 09:04:32 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 08 Dec 2011 09:04:19 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id C05592BB497; Thu, 8 Dec 2011 04:04:18 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QIeNYhl-xEzq; Thu, 8 Dec 2011 04:04:18 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 975472BB033; Thu, 8 Dec 2011 04:04:18 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id F3A15145615; Thu, 8 Dec 2011 01:04:15 -0800 (PST) Date: Thu, 08 Dec 2011 09:26:00 -0000 From: Joel Brobecker To: Mark Kettenis Cc: macro@codesourcery.com, gdb-patches@sourceware.org Subject: Re: [PATCH] MIPS/Linux: Update the number of pseudo registers too Message-ID: <20111208090415.GJ21915@adacore.com> References: <20111208083113.GH21915@adacore.com> <201112080858.pB88wBu2008282@glazunov.sibelius.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201112080858.pB88wBu2008282@glazunov.sibelius.xs4all.nl> User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2011-12/txt/msg00256.txt.bz2 > > > Similarly to the previous general MIPS change (pc_regnum and sp_regnum) > > > the Linux backend needs to update the number of pseudo registers as it > > > adds the "restart" register. No regressions in mips-linux-gnu testing > > > (native and remote). OK to apply? > > > > I don't understand this one. Isn't the register added to the list of > > normal registers, rather than pseudo registers? > > MIPS is a bit weird, since all register access is done via pseudo > registers to deal with 32-bit vs. 64-bit issues (in particular, > supporting a 32-bit ABI on 64-bit hardware). Aha, thanks! So that would indeed mean that Maciej's patch should be correct, right? -- Joel