diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-10-31 19:49:34 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-10-31 19:49:34 +0000 |
commit | c5646e1120a55b7e13f8f843486432b8961448a8 (patch) | |
tree | 959d41d5372da24d62cc324cee28809b5cdb98ab /gdb/config/h8500 | |
parent | 0bdd672b8c29b593e8ad65d9cb3c9cac814514a7 (diff) | |
download | gdb-c5646e1120a55b7e13f8f843486432b8961448a8.zip gdb-c5646e1120a55b7e13f8f843486432b8961448a8.tar.gz gdb-c5646e1120a55b7e13f8f843486432b8961448a8.tar.bz2 |
2002-10-31 Andrew Cagney <cagney@redhat.com>
* h8500-tdep.c (h8500_print_registers_info): New static function,
clone of infcmd.c's default_print_registers_info.
(h8500_do_registers_info): New funtion.
(h8500_print_register_hook): Rename print_register_hook, make
static.
* config/h8500/tm-h8500.h: Update copyright.
(DEPRECATED_DO_REGISTERS_INFO): Define.
(h8500_do_registers_info: Declare.
(PRINT_REGISTER_HOOK): Delete macro.
(print_register_hook): Delete function.
Diffstat (limited to 'gdb/config/h8500')
-rw-r--r-- | gdb/config/h8500/tm-h8500.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gdb/config/h8500/tm-h8500.h b/gdb/config/h8500/tm-h8500.h index 30acdbe..50fccfc 100644 --- a/gdb/config/h8500/tm-h8500.h +++ b/gdb/config/h8500/tm-h8500.h @@ -1,6 +1,7 @@ /* Parameters for execution on a H8/500 series machine. - Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001 - Free Software Foundation, Inc. + + Copyright 1993, 1994, 1995, 1998, 1999, 2000, 2001, 2002 Free + Software Foundation, Inc. This file is part of GDB. @@ -253,8 +254,9 @@ extern CORE_ADDR h8500_addr_bits_remove (CORE_ADDR); #define read_memory_short(x) (read_memory_integer(x,2) & 0xffff) -#define PRINT_REGISTER_HOOK(regno) print_register_hook(regno) -extern void print_register_hook (int); +extern void h8500_do_registers_info (int regnum, int all); +#define DEPRECATED_DO_REGISTERS_INFO(REGNUM,ALL) \ + h8500_do_registers_info (REGNUM, ALL) extern int minimum_mode; |