From 6dad30024af153c0be0c96f3f83f0283d1474b1f 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/arch-utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gdb/arch-utils.h') diff --git a/gdb/arch-utils.h b/gdb/arch-utils.h index 9934bbf3285..071b5305ef8 100644 --- a/gdb/arch-utils.h +++ b/gdb/arch-utils.h @@ -111,10 +111,12 @@ extern int default_prepare_to_proceed (int select_it); extern int generic_prepare_to_proceed (int select_it); -/* Version of init_frame_pc() that does nothing. */ +/* Versions of init_frame_pc(). Do nothing; do the default. */ void init_frame_pc_noop (int fromleaf, struct frame_info *prev); +void init_frame_pc_default (int fromleaf, struct frame_info *prev); + /* Version of cannot_fetch_register() / cannot_store_register() that always fails. */ -- cgit v1.2.1