aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tuiIO.c
diff options
context:
space:
mode:
authorStephane Carrez <stcarrez@nerim.fr>2002-09-13 19:47:21 +0000
committerStephane Carrez <stcarrez@nerim.fr>2002-09-13 19:47:21 +0000
commitbd9b0abf4e57f81d582fa5d5250634f99caeaa49 (patch)
treee37c821c00c6cb8e323c5b0a9e285487e8cf2d98 /gdb/tui/tuiIO.c
parenta42a37b7258f08c601ba1de2c6fdf8f8a1a0e2a9 (diff)
downloadgdb-bd9b0abf4e57f81d582fa5d5250634f99caeaa49.zip
gdb-bd9b0abf4e57f81d582fa5d5250634f99caeaa49.tar.gz
gdb-bd9b0abf4e57f81d582fa5d5250634f99caeaa49.tar.bz2
* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
when leaving TUI mode so that gdb prompt is displayed.
Diffstat (limited to 'gdb/tui/tuiIO.c')
-rw-r--r--gdb/tui/tuiIO.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/tui/tuiIO.c b/gdb/tui/tuiIO.c
index 58df5d5..2e3d79f 100644
--- a/gdb/tui/tuiIO.c
+++ b/gdb/tui/tuiIO.c
@@ -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 ();