exec_cleanup murder.
[deliverable/binutils-gdb.git] / gdb / exceptions.c
index 89d14551a5709e61c28fde8a977ae9e894b1c767..304c8c6c27e1fba42395b20b11be39e114ca1907 100644 (file)
@@ -221,12 +221,6 @@ throw_exception (struct gdb_exception exception)
 
   disable_current_display ();
   do_cleanups (ALL_CLEANUPS);
-  /* When we implement non-stop mode, this should be redone.  If we get
-     exception in a command pertaining to one thread, or maybe even not
-     involving inferior at all, we should not do exec cleanups for all
-     threads.  */
-  if (target_can_async_p () && !target_executing)
-    do_exec_cleanups (ALL_CLEANUPS);
 
   /* Jump to the containing catch_errors() call, communicating REASON
      to that call via setjmp's return value.  Note that REASON can't
This page took 0.024021 seconds and 4 git commands to generate.