2003-03-03 Andrew Cagney <cagney@redhat.com>
authorAndrew Cagney <cagney@redhat.com>
Mon, 3 Mar 2003 23:28:55 +0000 (23:28 +0000)
committerAndrew Cagney <cagney@redhat.com>
Mon, 3 Mar 2003 23:28:55 +0000 (23:28 +0000)
* gdbint.texinfo (Target Architecture Definition): Document
register_type.

gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index 2ca605b..7772b3e 100644 (file)
@@ -1,5 +1,10 @@
 2003-03-03  Andrew Cagney  <cagney@redhat.com>
 
+       * gdbint.texinfo (Target Architecture Definition): Document
+       register_type.
+
+2003-03-03  Andrew Cagney  <cagney@redhat.com>
+
        * stabs.texinfo (Structures): Use @samp and separate @var's
        instead of a single @var containing a comma separated list.
        (Unions): Ditto.
index 35acd14..9776a35 100644 (file)
@@ -3506,6 +3506,12 @@ Return the virtual size of @var{reg}.
 Return the virtual type of @var{reg}.
 @xref{Target Architecture Definition, , Raw and Virtual Register Representations}.
 
+@item struct type *register_type (@var{gdbarch}, @var{reg})
+@findex register_type
+If defined, return the type of register @var{reg}.  This function
+superseeds @code{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