From 77e7e267cf2cdb7900ba14095d29b568f635efaf Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 3 Mar 2003 23:28:55 +0000 Subject: [PATCH] 2003-03-03 Andrew Cagney * gdbint.texinfo (Target Architecture Definition): Document register_type. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdbint.texinfo | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 2ca605b3c7..7772b3edfa 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2003-03-03 Andrew Cagney + + * gdbint.texinfo (Target Architecture Definition): Document + register_type. + 2003-03-03 Andrew Cagney * stabs.texinfo (Structures): Use @samp and separate @var's diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 35acd14e02..9776a3515b 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