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/tui | |
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/tui')
-rw-r--r-- | gdb/tui/tui-hooks.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |