From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29064 invoked by alias); 2 Mar 2010 22:00:00 -0000 Received: (qmail 29053 invoked by uid 22791); 2 Mar 2010 21:59:59 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-fx0-f227.google.com (HELO mail-fx0-f227.google.com) (209.85.220.227) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 02 Mar 2010 21:59:55 +0000 Received: by fxm27 with SMTP id 27so856125fxm.8 for ; Tue, 02 Mar 2010 13:59:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.87.68.35 with SMTP id v35mr1252305fgk.25.1267567193308; Tue, 02 Mar 2010 13:59:53 -0800 (PST) In-Reply-To: <4B8D89CD.5050700@vmware.com> References: <20100301170152.GA20106@intel.com> <6dc9ffc81003020608s10b76867kc04404a57df45df1@mail.gmail.com> <20100302150446.GB20342@caradoc.them.org> <838waa4nj1.fsf@gnu.org> <6dc9ffc81003021101yf91df69nddd08a824f777641@mail.gmail.com> <83y6ia30nc.fsf@gnu.org> <6dc9ffc81003021306s7cf79ef5n1069d8dcc994a3c6@mail.gmail.com> <83vdde2y6g.fsf@gnu.org> <20100302215235.GA3894@caradoc.them.org> <4B8D89CD.5050700@vmware.com> Date: Tue, 02 Mar 2010 22:00:00 -0000 Message-ID: <6dc9ffc81003021359h15250892q139c4cac09d5cb88@mail.gmail.com> Subject: Re: PATCH: Support x86 pseudo registers From: "H.J. Lu" To: Michael Snyder Cc: Eli Zaretskii , gdb-patches@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2010-03/txt/msg00084.txt.bz2 On Tue, Mar 2, 2010 at 1:57 PM, Michael Snyder wrote: > Daniel Jacobowitz wrote: >> >> On Tue, Mar 02, 2010 at 11:47:35PM +0200, Eli Zaretskii wrote: >>> >>> Who can help out here? =A0I can help with wording, if someone tells the >>> story. >> >> Presumably H. J. knows why he wrote the patch? >> >> I presume it lets us say $ah or $ax in addition to $eax, and lets $eax >> work on 64-bit systems where we really have $rax. > > Mmm hmm, and the context would be expressions or anywhere where a > register name is appropriate (eg. info reg). =A0Yes? > Yes. (top-gdb) info reg $edi edi 0x1 1 (top-gdb) info reg $rdi rdi 0x1 1 (top-gdb) info reg $dl dl 0xd8 -40 (top-gdb) info reg $dil dil 0x1 1 (top-gdb) --=20 H.J.