From 7824d2f224517915cf8001aaf29988a93a4b4b90 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Sat, 16 Jun 2001 20:00:24 +0000 Subject: * arch-utils.c (init_frame_pc_default): New function * arch-utils.h (init_frame_pc_default): Declare. * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and not init_frame_pc_noop. * gdbarch.h, gdbarch.c: Re-generate. * blockframe.c (INIT_FRAME_PC): Delete macro definition. * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to init_frame_pc_noop. --- gdb/blockframe.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/blockframe.c') diff --git a/gdb/blockframe.c b/gdb/blockframe.c index 68da4fd..34e1484 100644 --- a/gdb/blockframe.c +++ b/gdb/blockframe.c @@ -304,12 +304,6 @@ frameless_look_for_prologue (struct frame_info *frame) /* Default a few macros that people seldom redefine. */ -#if !defined (INIT_FRAME_PC) -#define INIT_FRAME_PC(fromleaf, prev) \ - prev->pc = (fromleaf ? SAVED_PC_AFTER_CALL (prev->next) : \ - prev->next ? FRAME_SAVED_PC (prev->next) : read_pc ()); -#endif - #ifndef FRAME_CHAIN_COMBINE #define FRAME_CHAIN_COMBINE(chain, thisframe) (chain) #endif -- cgit v1.1