diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-28 16:04:36 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1994-04-28 16:04:36 +0000 |
commit | 4dd876ac2ed505f7cc4c4ad9d59ab1618a4737bc (patch) | |
tree | cf4de83b7c3c91fbda068b3ba960aed64e8adfbf /gdb/utils.c | |
parent | d8742f467314826d448bfed5a1788655d8019bcd (diff) | |
download | gdb-4dd876ac2ed505f7cc4c4ad9d59ab1618a4737bc.zip gdb-4dd876ac2ed505f7cc4c4ad9d59ab1618a4737bc.tar.gz gdb-4dd876ac2ed505f7cc4c4ad9d59ab1618a4737bc.tar.bz2 |
(prompt_for_continue): Likewise for prompt-for-continue annotation.
Diffstat (limited to 'gdb/utils.c')
-rw-r--r-- | gdb/utils.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/utils.c b/gdb/utils.c index 9147055..d1a5e70 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 <return> to continue, or q <return> 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; |