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]
Other format: [Raw text]

[PATCH]: Re-enable gdb prompt when leaving TUI mode


Hi!

I committed this patch to fix the disapearance of gdb prompt when we leave
the TUI mode (mainline & 5_3 branch).

	Stephane

2002-09-13  Stephane Carrez  <stcarrez@nerim.fr>

	* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
	when leaving TUI mode so that gdb prompt is displayed.
Index: tuiIO.c
===================================================================
RCS file: /cvs/src/src/gdb/tui/tuiIO.c,v
retrieving revision 1.16
diff -u -p -r1.16 tuiIO.c
--- tuiIO.c	10 Sep 2002 19:59:31 -0000	1.16
+++ tuiIO.c	13 Sep 2002 19:44:21 -0000
@@ -532,7 +532,7 @@ tui_setup_io (int mode)
       rl_outstream = tui_old_rl_outstream;
       rl_completion_display_matches_hook = 0;
       readline_echoing_p = tui_old_readline_echoing_p;
-      rl_already_prompted = 1;
+      rl_already_prompted = 0;
 
       /* Save tty for SIGCONT.  */
       savetty ();

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