From 08be3abd6026bf04ed7226c2fea9c87e264928fd Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Fri, 2 Apr 2004 22:58:57 +0000 Subject: 2004-04-02 Andrew Cagney * gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Delete. * gdbarch.h, gdbarch.c: Re-generate. * frame.c (legacy_get_prev_frame): Delete references to DEPRECATED_INIT_FRAME_PC_FIRST. --- gdb/gdbarch.h | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'gdb/gdbarch.h') diff --git a/gdb/gdbarch.h b/gdb/gdbarch.h index 8585b70..86c118d 100644 --- a/gdb/gdbarch.h +++ b/gdb/gdbarch.h @@ -1114,31 +1114,6 @@ extern void set_gdbarch_deprecated_pc_in_call_dummy (struct gdbarch *gdbarch, gd #define DEPRECATED_PC_IN_CALL_DUMMY(pc, sp, frame_address) (gdbarch_deprecated_pc_in_call_dummy (current_gdbarch, pc, sp, frame_address)) #endif -#if defined (DEPRECATED_INIT_FRAME_PC_FIRST) -/* Legacy for systems yet to multi-arch DEPRECATED_INIT_FRAME_PC_FIRST */ -#if !defined (DEPRECATED_INIT_FRAME_PC_FIRST_P) -#define DEPRECATED_INIT_FRAME_PC_FIRST_P() (1) -#endif -#endif - -extern int gdbarch_deprecated_init_frame_pc_first_p (struct gdbarch *gdbarch); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_INIT_FRAME_PC_FIRST_P) -#error "Non multi-arch definition of DEPRECATED_INIT_FRAME_PC_FIRST" -#endif -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) || !defined (DEPRECATED_INIT_FRAME_PC_FIRST_P) -#define DEPRECATED_INIT_FRAME_PC_FIRST_P() (gdbarch_deprecated_init_frame_pc_first_p (current_gdbarch)) -#endif - -typedef CORE_ADDR (gdbarch_deprecated_init_frame_pc_first_ftype) (int fromleaf, struct frame_info *prev); -extern CORE_ADDR gdbarch_deprecated_init_frame_pc_first (struct gdbarch *gdbarch, int fromleaf, struct frame_info *prev); -extern void set_gdbarch_deprecated_init_frame_pc_first (struct gdbarch *gdbarch, gdbarch_deprecated_init_frame_pc_first_ftype *deprecated_init_frame_pc_first); -#if (GDB_MULTI_ARCH > GDB_MULTI_ARCH_PARTIAL) && defined (DEPRECATED_INIT_FRAME_PC_FIRST) -#error "Non multi-arch definition of DEPRECATED_INIT_FRAME_PC_FIRST" -#endif -#if !defined (DEPRECATED_INIT_FRAME_PC_FIRST) -#define DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev) (gdbarch_deprecated_init_frame_pc_first (current_gdbarch, fromleaf, prev)) -#endif - #if defined (DEPRECATED_INIT_FRAME_PC) /* Legacy for systems yet to multi-arch DEPRECATED_INIT_FRAME_PC */ #if !defined (DEPRECATED_INIT_FRAME_PC_P) -- cgit v1.1