From: Andrew Cagney Date: Fri, 26 Apr 2002 04:56:49 +0000 (+0000) Subject: * stack.c (selected_frame_level): X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bfb01f370f0424ea56e50f6706358e5de34bc96a;p=binutils-gdb.git * stack.c (selected_frame_level): (select_frame): Do not set selected_frame_level. * frame.h (selected_frame_level): Delete declaration. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 924425dd062..362b366d0b7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-04-26 Andrew Cagney + + * stack.c (selected_frame_level): + (select_frame): Do not set selected_frame_level. + * frame.h (selected_frame_level): Delete declaration. + 2002-04-26 Andrew Cagney * rs6000-tdep.c (rs6000_gdbarch_init): Only set diff --git a/gdb/frame.h b/gdb/frame.h index aca2e259a95..09f9b0d36a6 100644 --- a/gdb/frame.h +++ b/gdb/frame.h @@ -189,11 +189,6 @@ extern struct frame_info *selected_frame; 0 for innermost, 1 for its caller, ... or -1 for frame specified by address with no defined level. */ -/* FIXME: cagney/2002-04-21: The variable `selected_frame_level' is - deprecated. It will dissapear `real soon now'. */ - -extern int selected_frame_level; /* DEPRECATED */ - extern struct frame_info *create_new_frame (CORE_ADDR, CORE_ADDR); extern void flush_cached_frames (void); diff --git a/gdb/stack.c b/gdb/stack.c index 7a8bbc22146..d34e57174f4 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -119,11 +119,6 @@ struct frame_info *selected_frame; 0 for innermost, 1 for its caller, ... or -1 for frame specified by address with no defined level. */ -/* FIXME: cagney/2002-04-21: The variable `selected_frame_level' is - deprecated. It will dissapear `real soon now'. */ - -int selected_frame_level; /* DEPRECATED */ - /* Level of the selected frame: 0 for innermost, 1 for its caller, ... or -1 for NULL frame. */ @@ -1473,9 +1468,6 @@ select_frame (struct frame_info *fi, int level) register struct symtab *s; selected_frame = fi; - /* FIXME: cagney/2002-04-21: The variable `selected_frame_level' is - deprecated. It will dissapear `real soon now'. */ - selected_frame_level = level; /* DEPRECATED */ /* FIXME: cagney/2002-04-05: It can't be this easy (and looking at the increasingly complex list of checkes, it wasn't)! GDB is dragging around, and constantly updating, the global variable