This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Remove terminal_save_ours() from tui
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH]: Remove terminal_save_ours() from tui
- From: Stephane Carrez <Stephane dot Carrez at worldnet dot fr>
- Date: Tue, 31 Jul 2001 21:07:55 +0200
Hi!
It was an integration mistake that terminal_save_ours() appeared in tui code.
I've committed this patch on mainline to remove that. I'll try to put this
patch on the branch too.
Stephane
2001-07-31 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* tui.c (tui_enable): Remove call to terminal_save_ours().
(tui_disable): Likewise.
Index: tui.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tui.c,v
retrieving revision 1.13
diff -u -p -r1.13 tui.c
--- tui.c 2001/07/23 21:13:57 1.13
+++ tui.c 2001/07/31 18:47:53
@@ -240,9 +240,6 @@ tui_enable (void)
tui_version = 1;
tui_active = 1;
refresh ();
-
- /* Update gdb's knowledge of its terminal. */
- terminal_save_ours ();
}
/* Leave the tui mode.
@@ -265,8 +262,6 @@ tui_disable (void)
so that terminal management with the inferior works. */
tui_setup_io (0);
- /* Update gdb's knowledge of its terminal. */
- terminal_save_ours ();
tui_version = 0;
tui_active = 0;
}