This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Fix tui refresh when entering TUI mode
- From: Stephane Carrez <stcarrez at nerim dot fr>
- To: gdb-patches at sources dot redhat dot com
- Date: Wed, 23 Jul 2003 23:44:54 +0200
- Subject: [PATCH]: Fix tui refresh when entering TUI mode
Hi!
Committed this patch on 6_0 and mainline to fix refresh when entering TUI mode.
Stephane
2003-07-23 Stephane Carrez <stcarrez@nerim.fr>
* tui.c (tui_enable): Call tuiRefreshAll to make sure the window
is accurate.
Index: tui.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui.c,v
retrieving revision 1.31
diff -u -p -r1.31 tui.c
--- tui.c 22 Jun 2003 15:21:38 -0000 1.31
+++ tui.c 23 Jul 2003 21:38:07 -0000
@@ -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 ();