gdb/fortran: Introduce fortran-operator.def file
[deliverable/binutils-gdb.git] / gdb / windows-nat.c
index 47f6cbb541265c62f59931fb562412ee92325012..50094187bd111f90f285a3431a755a0a9353fcb7 100644 (file)
@@ -943,15 +943,14 @@ handle_unload_dll ()
 static void
 catch_errors (void (*func) ())
 {
-  TRY
+  try
     {
       func ();
     }
-  CATCH (ex, RETURN_MASK_ALL)
+  catch (const gdb_exception &ex)
     {
       exception_print (gdb_stderr, ex);
     }
-  END_CATCH
 }
 
 /* Clear list of loaded DLLs.  */
This page took 0.023269 seconds and 4 git commands to generate.