From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14708 invoked by alias); 9 Apr 2010 13:16:05 -0000 Received: (qmail 14699 invoked by uid 22791); 9 Apr 2010 13:16:04 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45 X-Spam-Check-By: sourceware.org Received: from mail-vw0-f41.google.com (HELO mail-vw0-f41.google.com) (209.85.212.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 13:16:00 +0000 Received: by vws15 with SMTP id 15so190132vws.0 for ; Fri, 09 Apr 2010 06:15:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.44.198 with HTTP; Fri, 9 Apr 2010 06:15:58 -0700 (PDT) In-Reply-To: <834ojl13ci.fsf@gnu.org> References: <20100407200547.GA20605@intel.com> <201004081908.o38J8D9H025274@glazunov.sibelius.xs4all.nl> <000c01cad75a$b751a490$25f4edb0$%muller@ics-cnrs.unistra.fr> <838w8x1va8.fsf@gnu.org> <834ojl13ci.fsf@gnu.org> Date: Fri, 09 Apr 2010 13:16:00 -0000 Received: by 10.220.63.74 with SMTP id a10mr8506vci.116.1270818958621; Fri, 09 Apr 2010 06:15:58 -0700 (PDT) Message-ID: Subject: Re: PATCH: Support i386 without SSE From: "H.J. Lu" To: Eli Zaretskii Cc: pierre.muller@ics-cnrs.unistra.fr, mark.kettenis@xs4all.nl, 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-04/txt/msg00228.txt.bz2 On Fri, Apr 9, 2010 at 12:39 AM, Eli Zaretskii wrote: >> Date: Thu, 8 Apr 2010 15:28:56 -0700 >> From: "H.J. Lu" >> Cc: Pierre Muller , mark.kettenis@xs4= all.nl, >> =A0 =A0 =A0 gdb-patches@sourceware.org >> >> >> > Eli, Pierre, can you test wether this fixes the issues on Go32? >> >> >> >> =A0I tested the patch and it does >> >> indeed fix the two problems that I >> >> reported. >> > >> > Thanks for testing. >> >> I will check in my patch. > > Thanks. > >> >> =A0 Nevertheless, there are still strange things: >> >> =A0 if you use 'maint print register-groups' >> >> you will find out that >> >> the SSE xmmX registers are still present as registers 32 to 40 >> >> and the ymmX as 41 to 48, but with empty names and a strange int0_t t= ype. >> >> I think those are expected as they are reserved internally >> and not visible to user. > > If this is a general feature, it's fine with me, but perhaps we should > add a note about that to where 'maint print register-groups' is > described in the manual, saying that it could also show registers > which are not really supported by the target. =A0Just so that it doesn't > cause confusion. > > Thanks. > How about this patch? --=20 H.J. -- 2010-04-09 H.J. Lu * gdb.texinfo (maint print registers): Mention unavailable and invisible registers. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index bd2b441..6629526 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -29082,8 +29082,9 @@ Print @value{GDBN}'s internal register data structu= res. The command @code{maint print raw-registers} includes the contents of the raw register cache; the command @code{maint print cooked-registers} -includes the (cooked) value of all registers; and the command -@code{maint print register-groups} includes the groups that each +includes the (cooked) value of all registers, including registers which +aren't available on the target nor visible to user; and the +command @code{maint print register-groups} includes the groups that each register is a member of. @xref{Registers,, Registers, gdbint, @value{GDBN} Internals}.