aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2003-07-23 21:40:59 +0000
committerStephane Carrez <stcarrez@nerim.fr>2003-07-23 21:40:59 +0000
commit80b9fe0393f8ea42ad7a4382484f732e2b69d63c (patch)
tree91a39d7c2c25e3c056986e4e9146b2e7a93ab991 /gdb
parent20358547b72b724d5e43e313474a2a94b725f884 (diff)
downloadgdb-80b9fe0393f8ea42ad7a4382484f732e2b69d63c.zip
gdb-80b9fe0393f8ea42ad7a4382484f732e2b69d63c.tar.gz
gdb-80b9fe0393f8ea42ad7a4382484f732e2b69d63c.tar.bz2
* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
is accurate.
Diffstat (limited to 'gdb')
-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 6b4e01f..a6574ff 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 ();