From: Stephane Carrez 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: https://git.libre-soc.org/?a=commitdiff_plain;h=90949d06a32b215ed910106ac175f56f531cfecf;p=binutils-gdb.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 60ec1d0e72d..8abbf61cc35 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/gdb/tui/tui-hooks.c b/gdb/tui/tui-hooks.c index 27556acfd15..48eeeda9240 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))