From: Stephane Carrez Date: Fri, 13 Sep 2002 19:47:21 +0000 (+0000) Subject: * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd9b0abf4e57f81d582fa5d5250634f99caeaa49;p=binutils-gdb.git * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared when leaving TUI mode so that gdb prompt is displayed. --- diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 246c1f80f7a..be718aeecfd 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,3 +1,8 @@ +2002-09-13 Stephane Carrez + + * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared + when leaving TUI mode so that gdb prompt is displayed. + 2002-09-13 Stephane Carrez * tuiStack.c (tui_make_status_line): Make sure the local buffer diff --git a/gdb/tui/tuiIO.c b/gdb/tui/tuiIO.c index 58df5d5f89a..2e3d79f2f4b 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 ();