From 0c0c911b03a01063edab4226c9f71bbe83f195a3 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 12 Apr 1995 00:16:35 +0000 Subject: * top.c, utils.c, defs.h: Remove error_hook. It is currently unused and would need to hook into error_begin()/return_to_top_level(), instead of error(), if it were to be used. --- gdb/top.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/top.c') diff --git a/gdb/top.c b/gdb/top.c index cd6e4ba..e632ce3 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -417,12 +417,6 @@ int (*target_wait_hook) PARAMS ((int pid, struct target_waitstatus *status)); void (*call_command_hook) PARAMS ((struct cmd_list_element *c, char *cmd, int from_tty)); - -/* Takes control from error (). Typically used to prevent longjmps out of the - middle of the GUI. Usually used in conjunction with a catch routine. */ - -NORETURN void (*error_hook) PARAMS (()); - /* Where to go for return_to_top_level (RETURN_ERROR). */ jmp_buf error_return; -- cgit v1.1