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