This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: PATCH: Support i386 without SSE
On Fri, Apr 9, 2010 at 12:39 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>> Date: Thu, 8 Apr 2010 15:28:56 -0700
>> From: "H.J. Lu" <hjl.tools@gmail.com>
>> Cc: Pierre Muller <pierre.muller@ics-cnrs.unistra.fr>, mark.kettenis@xs4all.nl,
>> ? ? ? gdb-patches@sourceware.org
>>
>> >> > 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.
>
> Thanks.
>
>> >> ? 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.
>
> 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. ?Just so that it doesn't
> cause confusion.
>
> Thanks.
>
How about this patch?
--
H.J.
--
2010-04-09 H.J. Lu <hongjiu.lu@intel.com>
* 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 structures.
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}.