diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 60ec1d0e72..8abbf61cc3 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 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))