From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28047 invoked by alias); 8 Apr 2010 22:29:03 -0000 Received: (qmail 28034 invoked by uid 22791); 8 Apr 2010 22:29:02 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,TW_EB 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; Thu, 08 Apr 2010 22:28:58 +0000 Received: by vws14 with SMTP id 14so1502313vws.0 for ; Thu, 08 Apr 2010 15:28:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.44.198 with HTTP; Thu, 8 Apr 2010 15:28:56 -0700 (PDT) In-Reply-To: <838w8x1va8.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> Date: Thu, 08 Apr 2010 22:29:00 -0000 Received: by 10.220.108.79 with SMTP id e15mr557950vcp.141.1270765736296; Thu, 08 Apr 2010 15:28:56 -0700 (PDT) Message-ID: Subject: Re: PATCH: Support i386 without SSE From: "H.J. Lu" To: Eli Zaretskii Cc: Pierre Muller , 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/msg00201.txt.bz2 On Thu, Apr 8, 2010 at 2:36 PM, Eli Zaretskii wrote: >> From: "Pierre Muller" >> Cc: >> Date: Thu, 8 Apr 2010 22:33:12 +0200 >> >> > > This patch supports i386 without SSE. =A0Any comments/suggestions? >> > >> > 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. >> =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 type. I think those are expected as they are reserved internally and not visible to user. > H.J., could this be fixed? =A0(I assume it's also part of one of your > latest patches; apologies if that's not true.) > I will post a patch to remove "general" from missing registers. As for void * registers, we always print (top-gdb) maint print register-groups Name Nr Rel Offset Size Type Groups eax 0 0 0 4 int general,all,save,resto= re ecx 1 1 4 4 int general,all,save,resto= re edx 2 2 8 4 int general,all,save,resto= re ebx 3 3 12 4 int general,all,save,resto= re esp 4 4 16 4 *1 general,all,save,resto= re ebp 5 5 20 4 *1 general,all,save,resto= re esi 6 6 24 4 int general,all,save,resto= re edi 7 7 28 4 int general,all,save,resto= re eip 8 8 32 4 *1 general,all,save,resto= re --=20 H.J.