From 5d6eb653a494cfa3f7f85fae4f0e4937d1e8e298 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 22 Sep 2003 17:45:02 +0000 Subject: 2003-09-22 Andrew Cagney * arch-utils.h (init_frame_pc_noop): Delete declaration. * arch-utils.c (init_frame_pc_noop): Delete function. * mn10300-tdep.c (mn10300_gdbarch_init): Do not set "init_frame_pc". * mips-tdep.c (mips_gdbarch_init): Ditto. * i386-interix-tdep.c (i386_interix_init_abi): Ditto. * config/sparc/tm-sparc.h (init_frame_pc_noop): Delete declaration. (DEPRECATED_INIT_FRAME_PC): Delete macro. * config/rs6000/tm-rs6000.h (init_frame_pc_noop): Delete declaration. (DEPRECATED_INIT_FRAME_PC): Delete macro. --- gdb/config/rs6000/tm-rs6000.h | 6 ------ gdb/config/sparc/tm-sparc.h | 5 ----- 2 files changed, 11 deletions(-) (limited to 'gdb/config') diff --git a/gdb/config/rs6000/tm-rs6000.h b/gdb/config/rs6000/tm-rs6000.h index 66b2f28..003b5b9 100644 --- a/gdb/config/rs6000/tm-rs6000.h +++ b/gdb/config/rs6000/tm-rs6000.h @@ -83,12 +83,6 @@ extern void aix_process_linenos (void); #define DEPRECATED_INIT_FRAME_PC_FIRST(fromleaf, prev) \ (fromleaf ? DEPRECATED_SAVED_PC_AFTER_CALL (prev->next) : \ prev->next ? DEPRECATED_FRAME_SAVED_PC (prev->next) : read_pc ()) -/* NOTE: cagney/2002-12-08: Add local declaration of - init_frame_pc_noop() because it isn't possible to include - "arch-utils.h" here. Not too bad as this entire file is going away - anyway. */ -extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev); -#define DEPRECATED_INIT_FRAME_PC(fromleaf, prev) (init_frame_pc_noop (fromleaf, prev)) /* RS6000/AIX does not support PT_STEP. Has to be simulated. */ diff --git a/gdb/config/sparc/tm-sparc.h b/gdb/config/sparc/tm-sparc.h index a18e203..1567d0d 100644 --- a/gdb/config/sparc/tm-sparc.h +++ b/gdb/config/sparc/tm-sparc.h @@ -211,11 +211,6 @@ extern void sparc_print_extra_frame_info (struct frame_info *); /* DEPRECATED_INIT_EXTRA_FRAME_INFO needs the PC to detect flat frames. */ -/* NOTE: cagney/2002-12-08: Add local declaration of - init_frame_pc_noop() because it isn't possible to include - "arch-utils.h" here. */ -extern CORE_ADDR init_frame_pc_noop (int fromleaf, struct frame_info *prev); -#define DEPRECATED_INIT_FRAME_PC(FROMLEAF, PREV) (init_frame_pc_noop (FROMLEAF, PREV)) #define DEPRECATED_INIT_FRAME_PC_FIRST(FROMLEAF, PREV) \ ((FROMLEAF) ? DEPRECATED_SAVED_PC_AFTER_CALL ((PREV)->next) : \ (PREV)->next ? DEPRECATED_FRAME_SAVED_PC ((PREV)->next) : read_pc ()) -- cgit v1.1