diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-25 18:42:32 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-08-25 18:42:32 +0000 |
commit | 90949d06a32b215ed910106ac175f56f531cfecf (patch) | |
tree | 371241223b6dfcae1caeecf6c6c0a2c1ee256545 | |
parent | 7d6dd1e97d5d5826cc367d13ba6030e02bd9eecf (diff) | |
download | gdb-90949d06a32b215ed910106ac175f56f531cfecf.zip gdb-90949d06a32b215ed910106ac175f56f531cfecf.tar.gz gdb-90949d06a32b215ed910106ac175f56f531cfecf.tar.bz2 |
* tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
the frame position.
-rw-r--r-- | gdb/tui/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tui-hooks.c | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 60ec1d0..8abbf61 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,5 +1,10 @@ 2002-08-25 Stephane Carrez <stcarrez@nerim.fr> + * tui-hooks.c (tui_selected_frame_level_changed_hook): Always update + the frame position. + +2002-08-25 Stephane Carrez <stcarrez@nerim.fr> + * 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 27556ac..48eeeda 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)) |