diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-29 16:10:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-29 16:10:53 +0000 |
commit | 617073a91ffd58111d51e65983f5d442cf933e51 (patch) | |
tree | 9a6ba3cd5eb992ee0d3a6f57bccba16af9afb5f7 | |
parent | 522873408d44e8e514f9d884332a5bd790b8a528 (diff) | |
download | ppe42-binutils-617073a91ffd58111d51e65983f5d442cf933e51.tar.gz ppe42-binutils-617073a91ffd58111d51e65983f5d442cf933e51.zip |
2003-01-29 Andrew Cagney <ac131313@redhat.com>
* gdb.texinfo (Maintenance Commands): Document `maint print
reggroups' and `maint print register-groups'.
* gdbint.texinfo (Target Architecture Definition): Document
register_reggroup_p.
-rw-r--r-- | gdb/doc/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/doc/gdb.texinfo | 30 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 22 |
3 files changed, 55 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 6ef1c32292..36f115be96 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,10 @@ +2003-01-29 Andrew Cagney <ac131313@redhat.com> + + * gdb.texinfo (Maintenance Commands): Document `maint print + reggroups' and `maint print register-groups'. + * gdbint.texinfo (Target Architecture Definition): Document + register_reggroup_p. + 2003-01-23 Jim Blandy <jimb@redhat.com> * gdb.texinfo (Separate Debug Files): New section. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index af8588970a..8626e3d220 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -14631,18 +14631,40 @@ warning message. @kindex maint print registers @kindex maint print raw-registers @kindex maint print cooked-registers +@kindex maint print register-groups @item maint print registers @itemx maint print raw-registers @itemx maint print cooked-registers +@itemx maint print register-groups Print @value{GDBN}'s internal register data structures. -The command @samp{maint print raw-registers} includes the contents of -the raw register cache; and the command @samp{maint print -cooked-registers} includes the (cooked) value of all registers. -@xref{Registers,, Registers, gdbint, @value{GDBN} Internals}. +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 +register is a member of. @xref{Registers,, Registers, gdbint, +@value{GDBN} Internals}. Takes an optional file parameter. +@kindex maint print reggroups +@item maint print reggroups +Print @value{GDBN}'s internal register group data structures. + +Takes an optional file parameter. + +@smallexample +(gdb) @kbd{maint print reggroups} + Group Type + general user + float user + all user + vector user + system user + save internal + restore internal +@end smallexample + @kindex maint set profile @kindex maint show profile @cindex profiling GDB diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 8a8923f796..6a864960bf 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3510,6 +3510,28 @@ Return the raw size of @var{reg}; defaults to the size of the register's virtual type. @xref{Target Architecture Definition, , Raw and Virtual Register Representations}. +@item register_reggroup_p (@var{gdbarch}, @var{regnum}, @var{reggroup}) +@findex register_reggroup_p +@cindex register groups +Return non-zero if register @var{regnum} is a member of the register +group @var{reggroup}. + +By default, registers are grouped as follows: + +@table @code +@item float_reggroup +Any register with a valid name and a floating-point type. +@item vector_reggroup +Any register with a valid name and a vector type. +@item general_reggroup +Any register with a valid name and a type other than vector or +floating-point. @samp{float_reggroup}. +@item save_reggroup +@itemx restore_reggroup +@itemx all_reggroup +Any register with a valid name. +@end table + @item REGISTER_VIRTUAL_SIZE (@var{reg}) @findex REGISTER_VIRTUAL_SIZE Return the virtual size of @var{reg}; defaults to the size of the |