diff options
author | Denis Pilat <denis.pilat@st.com> | 2007-03-07 10:29:47 +0000 |
---|---|---|
committer | Denis Pilat <denis.pilat@st.com> | 2007-03-07 10:29:47 +0000 |
commit | 7490ba4f786efef8a77e289546712a0b0f911ec6 (patch) | |
tree | e9bc4641240f9a26d338c1bab9b452d4b1ff6e5f /gdb | |
parent | f78039904e40e0ea9dfcc32da59f65ecc94e17e4 (diff) | |
download | gdb-7490ba4f786efef8a77e289546712a0b0f911ec6.zip gdb-7490ba4f786efef8a77e289546712a0b0f911ec6.tar.gz gdb-7490ba4f786efef8a77e289546712a0b0f911ec6.tar.bz2 |
* tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace
get_selected_frame by deprecated_safe_get_selected_frame.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tui-hooks.c | 2 |
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) |