* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
get_selected_frame by deprecated_safe_get_selected_frame.
This commit is contained in:
parent
f78039904e
commit
7490ba4f78
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-03-07 Denis Pilat <denis.pilat@st.com>
|
||||
|
||||
* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
|
||||
get_selected_frame by deprecated_safe_get_selected_frame.
|
||||
|
||||
2007-03-02 Mark Kettenis <kettenis@gnu.org>
|
||||
|
||||
* shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and
|
||||
|
|
|
@ -230,7 +230,7 @@ tui_selected_frame_level_changed_hook (int level)
|
|||
{
|
||||
struct frame_info *fi;
|
||||
|
||||
fi = get_selected_frame (NULL);
|
||||
fi = deprecated_safe_get_selected_frame ();
|
||||
/* Ensure that symbols for this frame are read in. Also, determine the
|
||||
source language of this frame, and switch to it if desired. */
|
||||
if (fi)
|
||||
|
|
Loading…
Reference in a new issue