aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-03-03 23:28:55 +0000
committerAndrew Cagney <cagney@redhat.com>2003-03-03 23:28:55 +0000
commit77e7e267cf2cdb7900ba14095d29b568f635efaf (patch)
tree5a70a2a224ad43d7dcd866eaa9acf918740e43df
parent6a0fb18653a0ecfe98387ca6132377514684ddf3 (diff)
downloadgdb-77e7e267cf2cdb7900ba14095d29b568f635efaf.zip
gdb-77e7e267cf2cdb7900ba14095d29b568f635efaf.tar.gz
gdb-77e7e267cf2cdb7900ba14095d29b568f635efaf.tar.bz2
2003-03-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document register_type.
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdbint.texinfo6
2 files changed, 11 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 2ca605b..7772b3e 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -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.
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 35acd14..9776a35 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -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