This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[rfa:doco] document register_type()
- From: Andrew Cagney <ac131313 at redhat dot com>
- To: gdb-patches at sources dot redhat dot com
- Date: Sun, 02 Mar 2003 11:49:01 -0500
- Subject: [rfa:doco] document register_type()
Hello,
This adds doco for the register_type() architecture method.
ok?
Andrew
2003-03-01 Andrew Cagney <cagney at redhat dot com>
* gdbint.texinfo (Target Architecture Definition): Document
register_type.
Index: gdbint.texinfo
===================================================================
RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v
retrieving revision 1.123
diff -u -r1.123 gdbint.texinfo
--- gdbint.texinfo 4 Feb 2003 23:59:26 -0000 1.123
+++ gdbint.texinfo 2 Mar 2003 16:25:38 -0000
@@ -3504,6 +3504,12 @@
Return the virtual type of @var{reg}.
@xref{Target Architecture Definition, , Raw and Virtual Register Representations}.
+ at item struct type *register_type (@var{gdbarch}, @var{reg})
+ at findex register_type
+If defined, return the type of register @var{reg}. This function
+superseeds REGISTER_VIRTUAL_TYPE. @xref{Target Architecture Definition,
+, Raw and Virtual Register Representations}.
+
@item REGISTER_CONVERT_TO_VIRTUAL(@var{reg}, @var{type}, @var{from}, @var{to})
@findex REGISTER_CONVERT_TO_VIRTUAL
Convert the value of register @var{reg} from its raw form to its virtual