This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH]: Remove terminal_save_ours() from tui


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;
 }

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]