* stack.c (selected_frame_level):

(select_frame): Do not set selected_frame_level.
* frame.h (selected_frame_level): Delete declaration.
This commit is contained in:
Andrew Cagney 2002-04-26 04:56:49 +00:00
parent 15813d3f2c
commit bfb01f370f
3 changed files with 6 additions and 13 deletions

View File

@ -1,3 +1,9 @@
2002-04-26 Andrew Cagney <ac131313@redhat.com>
* 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 <ac131313@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Only set

View File

@ -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);

View File

@ -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