gdb: Remove use of deprecated_interactive_hook
authorAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 18 Jun 2019 12:08:36 +0000 (13:08 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 18 Jun 2019 21:18:33 +0000 (22:18 +0100)
commit494986d596a977e1d24f9f068696f5b3e993ebf7
treed2b2abaf645b4b15fdb7d761dc49504c714dd7a1
parent0ed4690a67e2c4703d9088312de652d0d5f1aaaf
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.
gdb/ChangeLog
gdb/defs.h
gdb/interps.c
gdb/top.c
gdb/utils.c