aboutsummaryrefslogtreecommitdiff
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2002-07-24 17:58:46 +0000
committerTom Tromey <tromey@redhat.com>2002-07-24 17:58:46 +0000
commitb4f5539f0460e420dddade172f3d17c91470d254 (patch)
tree4873d442fa6ae0748ca69879333061337c403a17 /gdb/utils.c
parent8e1a114b75cd91c110ca78b6eee8ad3df494ddab (diff)
downloadgdb-b4f5539f0460e420dddade172f3d17c91470d254.zip
gdb-b4f5539f0460e420dddade172f3d17c91470d254.tar.gz
gdb-b4f5539f0460e420dddade172f3d17c91470d254.tar.bz2
* defs.h (gdb_readline_wrapper): Declare.
* utils.c (prompt_for_continue): Use gdb_readline_wrapper. * tracepoint.c (read_actions): Use gdb_readline_wrapper. * top.c (gdb_readline_wrapper): New function. (command_line_input): Use it.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index 4baea62..b2d9eca 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -1603,7 +1603,7 @@ prompt_for_continue (void)
/* 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 (cont_prompt);
+ ignore = gdb_readline_wrapper (cont_prompt);
if (annotation_level > 1)
printf_unfiltered ("\n\032\032post-prompt-for-continue\n");