aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-07-23 21:41:22 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-07-23 21:41:22 +0000
commit91f769cfdaa273d4f36d1e35825c5e2fddbd5f35 (patch)
treee87607825832723f9a200dbf4e9c99cc5c968e5e
parentbc7386a779f752ffd0124e8e9928e75ba6c9f7be (diff)
downloadgdb-91f769cfdaa273d4f36d1e35825c5e2fddbd5f35.zip
gdb-91f769cfdaa273d4f36d1e35825c5e2fddbd5f35.tar.gz
gdb-91f769cfdaa273d4f36d1e35825c5e2fddbd5f35.tar.bz2
* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
is accurate.
-rw-r--r--gdb/tui/ChangeLog5
-rw-r--r--gdb/tui/tui.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog
index 28fd932..ee99b37 100644
--- a/gdb/tui/ChangeLog
+++ b/gdb/tui/ChangeLog
@@ -1,5 +1,10 @@
2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
+ * tui.c (tui_enable): Call tuiRefreshAll to make sure the window
+ is accurate.
+
+2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
+
* tui-interp.c (tui_resume): Enable tui when we expected it.
(tui_suspend): Remember in which TUI mode we are.
(_initialize_tui_interp): Use the tui interpreter even when no
diff --git a/gdb/tui/tui.c b/gdb/tui/tui.c
index 7e665d5..7efe658 100644
--- a/gdb/tui/tui.c
+++ b/gdb/tui/tui.c
@@ -390,7 +390,7 @@ tui_enable (void)
/* Restore TUI keymap. */
tui_set_key_mode (tui_current_key_mode);
- refresh ();
+ tuiRefreshAll ();
/* Update gdb's knowledge of its terminal. */
target_terminal_save_ours ();