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/inferior.h | |
parent | e23792ccb6d6b4e8e30e5702eaacfd5556e4ac6e (diff) | |
download | gdb-0ab7a791257080198a22f27a12563758f1e78c96.zip gdb-0ab7a791257080198a22f27a12563758f1e78c96.tar.gz gdb-0ab7a791257080198a22f27a12563758f1e78c96.tar.bz2 |
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/inferior.h')
-rw-r--r-- | gdb/inferior.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/inferior.h b/gdb/inferior.h index 716daf9..e875e9c 100644 --- a/gdb/inferior.h +++ b/gdb/inferior.h @@ -205,7 +205,10 @@ extern void resume (int, enum target_signal); /* From misc files */ -extern void do_registers_info (int, int); +extern void default_print_registers_info (struct gdbarch *gdbarch, + struct ui_file *file, + struct frame_info *frame, + int regnum, int all); extern void store_inferior_registers (int); |