diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2002-09-13 19:47:21 +0000 |
---|---|---|
committer | Stephane Carrez <stcarrez@nerim.fr> | 2002-09-13 19:47:21 +0000 |
commit | bd9b0abf4e57f81d582fa5d5250634f99caeaa49 (patch) | |
tree | e37c821c00c6cb8e323c5b0a9e285487e8cf2d98 /gdb/tui | |
parent | a42a37b7258f08c601ba1de2c6fdf8f8a1a0e2a9 (diff) | |
download | gdb-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')
-rw-r--r-- | gdb/tui/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/tui/tuiIO.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/tui/ChangeLog b/gdb/tui/ChangeLog index 246c1f8..be718ae 100644 --- a/gdb/tui/ChangeLog +++ b/gdb/tui/ChangeLog @@ -1,5 +1,10 @@ 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. + +2002-09-13 Stephane Carrez <stcarrez@nerim.fr> + * tuiStack.c (tui_make_status_line): Make sure the local buffer is large enough to hold the complete line. 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 (); |