aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2002-10-31 19:14:07 +0000
committerAndrew Cagney <cagney@redhat.com>2002-10-31 19:14:07 +0000
commit0bdd672b8c29b593e8ad65d9cb3c9cac814514a7 (patch)
treed718966d150973b3951f2bd9051f3cadcb429d6f /gdb/config
parente68cc12e04fb23a0c2c37451c0467dc93d87570f (diff)
downloadgdb-0bdd672b8c29b593e8ad65d9cb3c9cac814514a7.zip
gdb-0bdd672b8c29b593e8ad65d9cb3c9cac814514a7.tar.gz
gdb-0bdd672b8c29b593e8ad65d9cb3c9cac814514a7.tar.bz2
2002-10-31 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c (z8k_print_register_hook): Make static. (z8k_print_registers_info): New static function, clone of infcmd.c's default_print_registers_info. (z8k_do_registers_info): New function. Wrap z8k_print_registers_info. * config/z8k/tm-z8k.h: Update copyright. (PRINT_REGISTER_HOOK): Delete macro. (z8k_print_register_hook): Delete declaration. (DEPRECATED_DO_REGISTERS_INFO): Define. (z8k_do_registers_info): Declare.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/z8k/tm-z8k.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/gdb/config/z8k/tm-z8k.h b/gdb/config/z8k/tm-z8k.h
index eb96eda..edc5664 100644
--- a/gdb/config/z8k/tm-z8k.h
+++ b/gdb/config/z8k/tm-z8k.h
@@ -1,6 +1,7 @@
/* Parameters for execution on a z8000 series machine.
- Copyright 1992, 1993, 1994, 1998, 1999, 2000, 2001
- Free Software Foundation, Inc.
+
+ Copyright 1992, 1993, 1994, 1998, 1999, 2000, 2001, 2002 Free
+ Software Foundation, Inc.
This file is part of GDB.
@@ -276,9 +277,9 @@ int sim_z8001_mode;
#define NO_STD_REGS
-extern void z8k_print_register_hook (int regno);
-#define PRINT_REGISTER_HOOK(regno) z8k_print_register_hook(regno)
-
+extern void z8k_do_registers_info (int regnum, int all);
+#define DEPRECATED_DO_REGISTERS_INFO(REGNUM,ALL) \
+ z8k_do_registers_info (REGNUM, ALL)
extern void z8k_set_pointer_size (int newsize);
#define INIT_EXTRA_SYMTAB_INFO \