Eliminate prepare_to_throw_exception
[deliverable/binutils-gdb.git] / gdb / common / common-exceptions.c
index 829ce12f87f5a45f0def5042a4d6630fdc1bce5b..5ea818801695cb6a96d92e8cf3f7073aa6abdb69 100644 (file)
@@ -248,7 +248,6 @@ exception_rethrow (void)
 {
   /* Run this scope's cleanups before re-throwing to the next
      outermost scope.  */
-  prepare_to_throw_exception ();
   do_cleanups (all_cleanups ());
   throw;
 }
@@ -268,8 +267,6 @@ gdb_exception_sliced_copy (struct gdb_exception *to, const struct gdb_exception
 void
 throw_exception (struct gdb_exception exception)
 {
-  prepare_to_throw_exception ();
-
   do_cleanups (all_cleanups ());
 
 #if GDB_XCPT == GDB_XCPT_SJMP
This page took 0.038867 seconds and 4 git commands to generate.