diff options
author | Pedro Alves <palves@redhat.com> | 2016-03-09 18:24:59 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-03-09 18:24:59 +0000 |
commit | 608ff013aae02e3ac4687691db57bbcb8984fe18 (patch) | |
tree | 0372ce45e0af7447aaa90a41370e6f6c1e5bb634 /gdb/event-top.h | |
parent | c70061cf94691182484924c79cbbdd2203ef92d5 (diff) | |
download | gdb-608ff013aae02e3ac4687691db57bbcb8984fe18.zip gdb-608ff013aae02e3ac4687691db57bbcb8984fe18.tar.gz gdb-608ff013aae02e3ac4687691db57bbcb8984fe18.tar.bz2 |
Eliminate async_annotation_suffix
The comments and existence of this global are a bit of misleading
obfuscation, since this is only ever used to print the prompt
annotation, and never changes. Just hardcode "prompt" where
necessary, as done for most other annotations.
gdb/ChangeLog:
2016-03-09 Pedro Alves <palves@redhat.com>
* event-top.c (async_annotation_suffix): Delete.
(top_level_prompt, command_line_handler): Don't use
'async_annotation_suffix' and simplify.
* event-top.h (async_annotation_suffix): Delete declaration.
(init_main): Remove reference to 'async_annotation_suffix'.
Diffstat (limited to 'gdb/event-top.h')
-rw-r--r-- | gdb/event-top.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/event-top.h b/gdb/event-top.h index f9bd7b9..b8c3b11 100644 --- a/gdb/event-top.h +++ b/gdb/event-top.h @@ -54,7 +54,6 @@ extern void async_enable_stdin (void); extern int async_command_editing_p; extern int exec_done_display_p; -extern char *async_annotation_suffix; extern struct prompts the_prompts; extern void (*call_readline) (void *); extern void (*input_handler) (char *); |