From 2afc13ff80492278154c0f2156a9d32dd5ba675a Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Tue, 12 Apr 2016 17:17:13 +0100 Subject: Eliminate prepare_to_throw_exception No longer necessary. gdb/ChangeLog: 2016-04-12 Pedro Alves * common/common-exceptions.c (exception_rethrow): Remove prepare_to_throw_exception call. * common/common-exceptions.h (prepare_to_throw_exception): Delete declaration. * exceptions.c (prepare_to_throw_exception): Delete. gdb/gdbserver/ChangeLog: 2016-04-12 Pedro Alves * utils.c (prepare_to_throw_exception): Delete. --- gdb/common/common-exceptions.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gdb/common/common-exceptions.h') diff --git a/gdb/common/common-exceptions.h b/gdb/common/common-exceptions.h index 398a2fb..54c6249 100644 --- a/gdb/common/common-exceptions.h +++ b/gdb/common/common-exceptions.h @@ -270,12 +270,6 @@ struct gdb_exception_RETURN_MASK_QUIT : public gdb_exception_RETURN_MASK_ALL /* *INDENT-ON* */ -/* Hook to allow client-specific actions to be performed prior to - throwing an exception. This function must be provided by the - client, and will be called before any cleanups are run. */ - -extern void prepare_to_throw_exception (void); - /* Throw an exception (as described by "struct gdb_exception"). Will execute a LONG JUMP to the inner most containing exception handler established using catch_exceptions() (or similar). -- cgit v1.1