aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-06-16 20:00:24 +0000
committerAndrew Cagney <cagney@redhat.com>2001-06-16 20:00:24 +0000
commit7824d2f224517915cf8001aaf29988a93a4b4b90 (patch)
tree7cc55b046a5fa48ab6c5307bb53904a39ee8f4d5 /gdb/mips-tdep.c
parent1622c8f76475cdcba35e690db46bf48fe0238617 (diff)
downloadgdb-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/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index bb7a6c4..c56d97e 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -4130,6 +4130,7 @@ mips_gdbarch_init (struct gdbarch_info info,
/* There's a mess in stack frame creation. See comments in
blockframe.c near reference to INIT_FRAME_PC_FIRST. */
set_gdbarch_init_frame_pc_first (gdbarch, mips_init_frame_pc_first);
+ set_gdbarch_init_frame_pc (gdbarch, init_frame_pc_noop);
/* Map debug register numbers onto internal register numbers. */
set_gdbarch_stab_reg_to_regnum (gdbarch, mips_stab_reg_to_regnum);