From 0516318b5d7203ff02f09e0d51ca567c5fba7ece Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Sat, 24 Jan 2009 19:17:24 +0000 Subject: * infrun.c (normal_stop): Don't call deprecated_update_frame_pc_hack. * frame.c (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Delete, and ... (create_new_frame): ... inline here. * frame.h (deprecated_update_frame_pc_hack) (deprecated_update_frame_base_hack): Delete declarations. --- gdb/frame.h | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'gdb/frame.h') diff --git a/gdb/frame.h b/gdb/frame.h index 2e1ee53..b25ab9c 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -660,22 +660,4 @@ extern struct frame_info *deprecated_safe_get_selected_frame (void); extern struct frame_info *create_new_frame (CORE_ADDR base, CORE_ADDR pc); -/* FIXME: cagney/2002-12-06: Has the PC in the current frame changed? - "infrun.c", Thanks to gdbarch_decr_pc_after_break, can change the PC after - the initial frame create. This puts things back in sync. - - This replaced: frame->pc = ....; */ -extern void deprecated_update_frame_pc_hack (struct frame_info *frame, - CORE_ADDR pc); - -/* FIXME: cagney/2002-12-18: Has the frame's base changed? Or to be - more exact, was that initial guess at the frame's base as returned - by the deleted read_fp() wrong? If it was, fix it. This shouldn't - be necessary since the code should be getting the frame's base - correct from the outset. - - This replaced: frame->frame = ....; */ -extern void deprecated_update_frame_base_hack (struct frame_info *frame, - CORE_ADDR base); - #endif /* !defined (FRAME_H) */ -- cgit v1.1