aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1994-03-19 06:36:18 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1994-03-19 06:36:18 +0000
commita94100d198b8e39bbe327c9c252cb45decb3dd06 (patch)
tree298277f0f116aa883826b02ee5ebc402265e59bd /gdb/utils.c
parentf3f29240da4a1211185583322f7d0dd7940c814a (diff)
downloadgdb-a94100d198b8e39bbe327c9c252cb45decb3dd06.zip
gdb-a94100d198b8e39bbe327c9c252cb45decb3dd06.tar.gz
gdb-a94100d198b8e39bbe327c9c252cb45decb3dd06.tar.bz2
* utils.c (prompt_for_continue): Call readline, not gdb_readline.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 7480fa6..d7edda3 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1032,6 +1032,9 @@ prompt_for_continue ()
from system to system, and because telling them what to do in
the prompt is more user-friendly than expecting them to think of
SIGINT. */
+ /* Call readline, not gdb_readline, because GO32 readline handles control-C
+ whereas control-C to gdb_readline will cause the user to get dumped
+ out to DOS. */
ignore =
readline ("---Type <return> to continue, or q <return> to quit---");
if (ignore)