No longer necessary.
gdb/ChangeLog:
2016-04-12 Pedro Alves <palves@redhat.com>
* 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 <palves@redhat.com>
* utils.c (prepare_to_throw_exception): Delete.
+2016-04-12 Pedro Alves <palves@redhat.com>
+
+ * 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.
+
2016-04-12 Pedro Alves <palves@redhat.com>
* target.c (target_check_pending_interrupt): Delete.
{
/* Run this scope's cleanups before re-throwing to the next
outermost scope. */
- prepare_to_throw_exception ();
do_cleanups (all_cleanups ());
throw;
}
void
throw_exception (struct gdb_exception exception)
{
- prepare_to_throw_exception ();
-
do_cleanups (all_cleanups ());
#if GDB_XCPT == GDB_XCPT_SJMP
/* *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).
#include "serial.h"
#include "gdbthread.h"
-void
-prepare_to_throw_exception (void)
-{
-}
-
static void
print_flush (void)
{
+2016-04-12 Pedro Alves <palves@redhat.com>
+
+ * utils.c (prepare_to_throw_exception): Delete.
+
2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
* Makefile.in ($(IPA_LIB)): Set SONAME of the IPA lib.
return plongest (fd);
#endif
}
-
-/* See common/common-exceptions.h. */
-
-void
-prepare_to_throw_exception (void)
-{
- /* No client-specific actions required. */
-}