This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [patch rfc rfa:i386] Add i386 specific register groups
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: Mark Kettenis <kettenis at chello dot nl>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 08 Nov 2002 15:32:20 -0500
- Subject: Re: [patch rfc rfa:i386] Add i386 specific register groups
- References: <3DCBFA0C.70409@redhat.com> <86wunn6cea.fsf@elgar.kettenis.dyndns.org>
Andrew Cagney <ac131313@redhat.com> writes:
I should note that the orig_eax register is only a member of the system,
save and restore reggroups, and hence is no longer displayed by either
`info registers' or `info all-registers'. If you're really desperate
you can use the `maint print raw-registers` (which is in the manual :-)
Yeah! And you can always say "print $orig_eax", can't you?
(er, quickly checking ...)
(top-gdb) print $orig_eax
$1 = -1
(top-gdb) maint print raw-registers
...
orig_eax 41 41 308 4 int 0xffffffff
Yep, of course you can.
What about save/restore? Should it be saved/restored across an inferior
function call?
This ok?
Hmm, why are all registers in group "general"?
Preserving existing behavior? :-^
> I'd expect the group
general to only include the general-purpose registers.
So you'd like the mmx and sse registers excluded
(general corresponds to `info all-registers')?
Just give the word,
Andrew