From 91f769cfdaa273d4f36d1e35825c5e2fddbd5f35 Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Wed, 23 Jul 2003 21:41:22 +0000 Subject: * tui.c (tui_enable): Call tuiRefreshAll to make sure the window is accurate. --- gdb/tui/ChangeLog | 5 +++++ gdb/tui/tui.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb') 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 + * tui.c (tui_enable): Call tuiRefreshAll to make sure the window + is accurate. + +2003-07-23 Stephane Carrez + * 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 (); -- cgit v1.1