diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 525827ad99..9ec6c705a2 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2007-03-07 Denis Pilat + + * 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 * 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 f40c528d98..d1e61ffd14 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)