* tui-hooks.c (tui_selected_frame_level_changed_hook): Always update
authorStephane Carrez <stcarrez@nerim.fr>
Sun, 25 Aug 2002 18:42:32 +0000 (18:42 +0000)
committerStephane Carrez <stcarrez@nerim.fr>
Sun, 25 Aug 2002 18:42:32 +0000 (18:42 +0000)
the frame position.

gdb/tui/ChangeLog
gdb/tui/tui-hooks.c

index 60ec1d0e72d3b6f90bc195bdb28bb321b619b2cb..8abbf61cc350476d0bf142f005191bd50e257a0a 100644 (file)
@@ -1,3 +1,8 @@
+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.
index 27556acfd151528264c16022a1870ecc1a1b37fb..48eeeda924013cae1d33ccf031511af0846e2fe3 100644 (file)
@@ -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))
This page took 0.044982 seconds and 4 git commands to generate.