This is the mail archive of the gdb-patches@sources.redhat.com 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 rfc rfa:i386] Add i386 specific register groups


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



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