From 0c0c911b03a01063edab4226c9f71bbe83f195a3 Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Wed, 12 Apr 1995 00:16:35 +0000 Subject: [PATCH] * 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/ChangeLog | 6 ++++++ gdb/top.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ca287c46cb3..c4e679d2a7e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +Tue Apr 11 16:42:37 1995 Jim Kingdon (kingdon@lioth.cygnus.com) + + * 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. + Tue Apr 11 13:46:25 1995 Jim Kingdon * utils.c, defs.h (warning_begin): Renamed from warning_setup, for diff --git a/gdb/top.c b/gdb/top.c index cd6e4bac061..e632ce3050b 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;