This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Support i386 without SSE


On Thu, Apr 8, 2010 at 2:36 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: "Pierre Muller" <pierre.muller@ics-cnrs.unistra.fr>
>> Cc: <gdb-patches@sourceware.org>
>> Date: Thu, 8 Apr 2010 22:33:12 +0200
>>
>> > > This patch supports i386 without SSE. ?Any comments/suggestions?
>> >
>> > Eli, Pierre, can you test wether this fixes the issues on Go32?
>>
>> ?I tested the patch and it does
>> indeed fix the two problems that I
>> reported.
>
> Thanks for testing.

I will check in my patch.

>> ? Nevertheless, there are still strange things:
>> ? 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? ?(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,restore
 ecx           1    1      4       4 int             general,all,save,restore
 edx           2    2      8       4 int             general,all,save,restore
 ebx           3    3     12       4 int             general,all,save,restore
 esp           4    4     16       4 *1              general,all,save,restore
 ebp           5    5     20       4 *1              general,all,save,restore
 esi           6    6     24       4 int             general,all,save,restore
 edi           7    7     28       4 int             general,all,save,restore
 eip           8    8     32       4 *1              general,all,save,restore

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]