From: ciceron Date: Sun, 25 Aug 2002 18:42:32 +0000 (+0000) Subject: * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=12bd741765b4818138441cc87a59fed8c225199a;p=pf3gnuchains%2Fsourceware.git * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update the frame position. --- diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 60ec1d0e72..8abbf61cc3 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,5 +1,10 @@ 2002-08-25 Stephane Carrez + * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update + the frame position. + +2002-08-25 Stephane Carrez + * tuiStack.c (tuiSetLocatorContent): Remove. (tuiUpdateLocatorInfoFromFrame): Remove. (tui_set_locator_info): Allocate the content buffer if necessary. diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index 27556acfd1..48eeeda924 100644 --- a/gdb/tui/tui-hooks.c +++ b/gdb/tui/tui-hooks.c @@ -309,10 +309,10 @@ tui_selected_frame_level_changed_hook (int level) would be 0 here, and select_source_symtab would abort the command by calling the 'error' function */ if (s) - { - select_source_symtab (s); - tuiShowFrameInfo (fi); - } + select_source_symtab (s); + + /* Display the frame position (even if there is no symbols). */ + tuiShowFrameInfo (fi); /* Refresh the register window if it's visible. */ if (tui_is_window_visible (DATA_WIN))