diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-06-18 13:08:36 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-06-18 22:18:33 +0100 |
commit | 494986d596a977e1d24f9f068696f5b3e993ebf7 (patch) | |
tree | d2b2abaf645b4b15fdb7d761dc49504c714dd7a1 /gdb/defs.h | |
parent | [gdb/testsuite] Use -fuse-ld=gold in fission.exp (diff) | |
download | binutils-gdb-494986d596a977e1d24f9f068696f5b3e993ebf7.tar.gz binutils-gdb-494986d596a977e1d24f9f068696f5b3e993ebf7.tar.bz2 binutils-gdb-494986d596a977e1d24f9f068696f5b3e993ebf7.zip |
gdb: Remove use of deprecated_interactive_hook
The deprecated_interactive_hook is not used within GDB. It is used in
gdbtk, however this patch removes that use:
https://sourceware.org/ml/insight/2019-q2/msg00001.html
So I think there is no longer a reason to keep this hook around.
This patch removes it. There should be no user visible changes after
this commit.
gdb/ChangeLog:
* defs.h (deprecated_interactive_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Remove use of
deprecated_interactive_hook.
* top.c (deprecated_interactive_hook): Delete definition.
* utils.c (maybe_quit): Remove use of deprecated_interactive_hook.
Diffstat (limited to 'gdb/defs.h')
-rw-r--r-- | gdb/defs.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/defs.h b/gdb/defs.h index e95d0d43480..3d878c84e3f 100644 --- a/gdb/defs.h +++ b/gdb/defs.h @@ -600,7 +600,6 @@ extern int (*deprecated_query_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1,0); extern void (*deprecated_warning_hook) (const char *, va_list) ATTRIBUTE_FPTR_PRINTF(1,0); -extern void (*deprecated_interactive_hook) (void); extern void (*deprecated_readline_begin_hook) (const char *, ...) ATTRIBUTE_FPTR_PRINTF_1; extern char *(*deprecated_readline_hook) (const char *); |