From c5646e1120a55b7e13f8f843486432b8961448a8 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Thu, 31 Oct 2002 19:49:34 +0000 Subject: 2002-10-31 Andrew Cagney * 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. --- gdb/config/h8500/tm-h8500.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gdb/config/h8500/tm-h8500.h') 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; -- cgit v1.1