From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23878 invoked by alias); 12 Jun 2012 21:23:49 -0000 Received: (qmail 23864 invoked by uid 22791); 12 Jun 2012 21:23:48 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from sibelius.xs4all.nl (HELO glazunov.sibelius.xs4all.nl) (83.163.83.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 12 Jun 2012 21:23:35 +0000 Received: from glazunov.sibelius.xs4all.nl (kettenis@localhost [127.0.0.1]) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3) with ESMTP id q5CLNUWQ023106; Tue, 12 Jun 2012 23:23:30 +0200 (CEST) Received: (from kettenis@localhost) by glazunov.sibelius.xs4all.nl (8.14.5/8.14.3/Submit) id q5CLNS3D002137; Tue, 12 Jun 2012 23:23:28 +0200 (CEST) Date: Tue, 12 Jun 2012 21:23:00 -0000 Message-Id: <201206122123.q5CLNS3D002137@glazunov.sibelius.xs4all.nl> From: Mark Kettenis To: hjl.tools@gmail.com CC: gdb-patches@sourceware.org In-reply-to: (hjl.tools@gmail.com) Subject: Re: x32 ABI Support (was Re: Three weeks to branching (gdb 7.5 release)) References: <20120511181737.GP29339@adacore.com> <201205202043.q4KKhRGw022215@glazunov.sibelius.xs4all.nl> <201205202138.q4KLcWBf011913@glazunov.sibelius.xs4all.nl> <201205282026.q4SKQ737007589@glazunov.sibelius.xs4all.nl> <201206102151.q5ALpxLu017724@glazunov.sibelius.xs4all.nl> 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: 2012-06/txt/msg00371.txt.bz2 > Date: Mon, 11 Jun 2012 06:42:32 -0700 > From: "H.J. Lu" > > It works with the following patch. Can you check it in? Started working on that tonight but got sidetracked. Will do my utmost best to get this committed tomorrow. > diff --git a/gdb/i386-tdep.c b/gdb/i386-tdep.c > index 5b04505..9cc2e30 100644 > --- a/gdb/i386-tdep.c > +++ b/gdb/i386-tdep.c > @@ -2780,7 +2780,7 @@ i386_mmx_type (struct gdbarch *gdbarch) > /* Return the GDB type object for the "standard" data type of data in > register REGNUM. */ > > -static struct type * > +struct type * > i386_pseudo_register_type (struct gdbarch *gdbarch, int regnum) > { > if (i386_mmx_regnum_p (gdbarch, regnum)) > diff --git a/gdb/i386-tdep.h b/gdb/i386-tdep.h > index f297ae7..e1f7c44 100644 > --- a/gdb/i386-tdep.h > +++ b/gdb/i386-tdep.h > @@ -307,6 +315,7 @@ extern int i386_dword_regnum_p (struct gdbarch > *gdbarch, int regnum); > extern int i386_xmm_regnum_p (struct gdbarch *gdbarch, int regnum); > extern int i386_ymm_regnum_p (struct gdbarch *gdbarch, int regnum); > > +extern struct type *i386_pseudo_register_type (struct gdbarch *, int); > extern const char *i386_pseudo_register_name (struct gdbarch *gdbarch, > int regnum); > >