aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
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)