* 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.
This commit is contained in:
parent
8e1a114b75
commit
b4f5539f04
5 changed files with 36 additions and 3 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue