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 | 4fbf528cefe914fe5204ef0521442a3c8d0992b8 (patch) | |
tree | 96cefe9dc46214174f854a3656728a227d44d8ce /gdb/inferior.h | |
parent | 7c649929c9712bbf6651bf7dc17be00b0fb59a45 (diff) | |
download | gdb-4fbf528cefe914fe5204ef0521442a3c8d0992b8.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/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 716daf93ac1..e875e9cc186 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); |