aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/tui/tui-hooks.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 525827a..9ec6c70 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c
index f40c528..d1e61ff 100644
--- a/gdb/tui/tui-hooks.c
+++ b/gdb/tui/tui-hooks.c
@@ -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)