aboutsummaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2009-01-09 17:29:52 +0000
committerPedro Alves <palves@redhat.com>2009-01-09 17:29:52 +0000
commit58d4abe16b37770aa4d5e0c6548b4ff039509d54 (patch)
treefdba37c3f2dcee13d284804a988030d4ed41c0ae /gdb/top.c
parente3cb3832093dc26fbd140363d5696f3ea918f238 (diff)
downloadgdb-58d4abe16b37770aa4d5e0c6548b4ff039509d54.zip
gdb-58d4abe16b37770aa4d5e0c6548b4ff039509d54.tar.gz
gdb-58d4abe16b37770aa4d5e0c6548b4ff039509d54.tar.bz2
* defs.h (deprecated_error_hook): Delete declaration.
* interps.c (clear_interpreter_hooks): Adjust. * remote-sim.c (gdb_os_error): Don't try to call deprecated_error_hook. No need to call exit anymore. * top.c (deprecated_error_hook): Delete.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/top.c b/gdb/top.c
index a962aad..d5ef706 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -283,11 +283,6 @@ void (*deprecated_set_hook) (struct cmd_list_element * c);
void (*deprecated_context_hook) (int id);
-/* Takes control from error (). Typically used to prevent longjmps out of the
- middle of the GUI. Usually used in conjunction with a catch routine. */
-
-void (*deprecated_error_hook) (void);
-
/* Handler for SIGHUP. */
#ifdef SIGHUP