aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc/gdbint.texinfo
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-29 16:10:53 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-29 16:10:53 +0000
commit617073a91ffd58111d51e65983f5d442cf933e51 (patch)
tree9a6ba3cd5eb992ee0d3a6f57bccba16af9afb5f7 /gdb/doc/gdbint.texinfo
parent522873408d44e8e514f9d884332a5bd790b8a528 (diff)
downloadbinutils-617073a91ffd58111d51e65983f5d442cf933e51.zip
binutils-617073a91ffd58111d51e65983f5d442cf933e51.tar.gz
binutils-617073a91ffd58111d51e65983f5d442cf933e51.tar.bz2
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.
Diffstat (limited to 'gdb/doc/gdbint.texinfo')
-rw-r--r--gdb/doc/gdbint.texinfo22
1 files changed, 22 insertions, 0 deletions
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 8a8923f..6a86496 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