mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
2003-09-22 Andrew Cagney <cagney@redhat.com>
* 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.
This commit is contained in:
@@ -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 ())
|
||||
|
||||
Reference in New Issue
Block a user