From 343af40512fa1c17de0216abb9cbaf8c9ecfa4eb Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sun, 22 Feb 2004 16:51:37 +0000 Subject: 2004-02-22 Andrew Cagney * config/pa/tm-hppa.h: Update copyright. (DEPRECATED_INIT_FRAME_PC): Delete macro. (deprecated_init_frame_pc_default): Delete declaration. (hppa_frame_init_saved_regs): Delete declaration. (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro. * hppa-tdep.c: Include "arch-utils.h". (hppa_gdbarch_init): Set deprecated init_frame_pc and deprecated frame_init_saved_regs. (hppa_frame_init_saved_regs): Make static. --- gdb/config/pa/tm-hppa.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/pa/tm-hppa.h b/gdb/config/pa/tm-hppa.h index b8c971c5dc5..c097ccc192d 100644 --- a/gdb/config/pa/tm-hppa.h +++ b/gdb/config/pa/tm-hppa.h @@ -1,6 +1,8 @@ /* Parameters for execution on any Hewlett-Packard PA-RISC machine. - Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, - 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. + + Copyright 1986, 1987, 1989, 1990, 1991, 1992, 1993, 1994, 1995, + 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004 Free Software + Foundation, Inc. Contributed by the Center for Software Science at the University of Utah (pa-gdb-bugs@cs.utah.edu). @@ -35,8 +37,6 @@ #define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) deprecated_pc_in_call_dummy_on_stack (pc, sp, frame_address) /* Hack, get around problem with including "arch-utils.h". */ struct frame_info; -extern CORE_ADDR deprecated_init_frame_pc_default (int fromleaf, struct frame_info *prev); -#define DEPRECATED_INIT_FRAME_PC(l,f) (deprecated_init_frame_pc_default (l, f)) /* Forward declarations of some types we use in prototypes */ @@ -109,10 +109,6 @@ extern int hppa_instruction_nullified (void); #define INSTRUCTION_NULLIFIED hppa_instruction_nullified () #endif -extern void hppa_frame_init_saved_regs (struct frame_info *); -#define DEPRECATED_FRAME_INIT_SAVED_REGS(FI) \ - hppa_frame_init_saved_regs (FI) - #define INSTRUCTION_SIZE 4 /* This sequence of words is the instructions -- cgit v1.2.1