diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-06-16 20:00:24 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-06-16 20:00:24 +0000 |
commit | 7824d2f224517915cf8001aaf29988a93a4b4b90 (patch) | |
tree | 7cc55b046a5fa48ab6c5307bb53904a39ee8f4d5 /gdb/blockframe.c | |
parent | 1622c8f76475cdcba35e690db46bf48fe0238617 (diff) | |
download | gdb-7824d2f224517915cf8001aaf29988a93a4b4b90.zip gdb-7824d2f224517915cf8001aaf29988a93a4b4b90.tar.gz gdb-7824d2f224517915cf8001aaf29988a93a4b4b90.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/blockframe.c')
-rw-r--r-- | gdb/blockframe.c | 6 |
1 files changed, 0 insertions, 6 deletions
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 |