diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-08-21 16:34:10 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-08-21 16:34:10 +0000 |
commit | 0ab7a791257080198a22f27a12563758f1e78c96 (patch) | |
tree | fe3c4ffb5bdd9935a68ac144d20d15bd8bb4f471 /gdb/doc/gdbint.texinfo | |
parent | e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e (diff) | |
download | binutils-gdb-0ab7a791257080198a22f27a12563758f1e78c96.tar.gz |
2002-08-21 Andrew Cagney <ac131313@redhat.com>
* infcmd.c (default_print_registers_info): Replace
do_registers_info.
(registers_info): Use gdbarch_print_registers_info instead of
DO_REGISTERS_INFO.
* inferior.h (default_print_registers_info): Replace
do_registers_info.
* gdbarch.sh (PRINT_REGISTERS_INFO): New method.
(DO_REGISTERS_INFO): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.
2002-08-21 Andrew Cagney <ac131313@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Document
print_registers_info. Note that DO_REGISTERS_INFO is deprecated.
Diffstat (limited to 'gdb/doc/gdbint.texinfo')
-rw-r--r-- | gdb/doc/gdbint.texinfo | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index d560c3658a0..e8bbd79828f 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -3094,11 +3094,23 @@ library in which breakpoints cannot be set and so should be disabled. @findex DO_REGISTERS_INFO If defined, use this to print the value of a register or all registers. +This method is deprecated. + @item PRINT_FLOAT_INFO() -#findex PRINT_FLOAT_INFO +@findex PRINT_FLOAT_INFO If defined, then the @samp{info float} command will print information about the processor's floating point unit. +@item print_registers_info (@var{gdbarch}, @var{frame}, @var{regnum}, @var{all}) +@findex print_registers_info +If defined, pretty print the value of the register @var{regnum} for the +specified @var{frame}. If the value of @var{regnum} is -1, pretty print +either all registers (@var{all} is non zero) or a select subset of +registers (@var{all} is zero). + +The default method prints one register per line, and if @var{all} is +zero omits floating-point registers. + @item PRINT_VECTOR_INFO() @findex PRINT_VECTOR_INFO If defined, then the @samp{info vector} command will call this function |