From: Jim Kingdon Date: Thu, 28 Apr 1994 16:04:36 +0000 (+0000) Subject: (prompt_for_continue): Likewise for prompt-for-continue annotation. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dd876ac2ed505f7cc4c4ad9d59ab1618a4737bc;p=binutils-gdb.git (prompt_for_continue): Likewise for prompt-for-continue annotation. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index f06868cbb75..4f30981521c 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -2,6 +2,7 @@ Thu Apr 28 08:40:56 1994 Jim Kingdon (kingdon@lioth.cygnus.com) * utils.c (query): Change syntax of query annotations to be consistent with other input annotations. + (prompt_for_continue): Likewise for prompt-for-continue annotation. Thu Apr 28 01:20:39 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) diff --git a/gdb/utils.c b/gdb/utils.c index 91470550e5a..d1a5e70a43b 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -1047,6 +1047,9 @@ prompt_for_continue () char *ignore; char cont_prompt[120]; + if (annotation_level > 1) + printf_unfiltered ("\n\032\032pre-prompt-for-continue\n"); + strcpy (cont_prompt, "---Type to continue, or q to quit---"); if (annotation_level > 1) @@ -1069,6 +1072,10 @@ prompt_for_continue () whereas control-C to gdb_readline will cause the user to get dumped out to DOS. */ ignore = readline (cont_prompt); + + if (annotation_level > 1) + printf_unfiltered ("\n\032\032post-prompt-for-continue\n"); + if (ignore) { char *p = ignore;