From 90949d06a32b215ed910106ac175f56f531cfecf Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sun, 25 Aug 2002 18:42:32 +0000 Subject: [PATCH] * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update the frame position. --- gdb/tui/ChangeLog | 5 +++++ gdb/tui/tui-hooks.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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))