PR24697, R_PPC_EMB_SDA21 relocation
[deliverable/binutils-gdb.git] / gdb / selftest-arch.c
index 7a64295efa8e762addd167abe5c825771079ea97..38cd6248d047f31585a3fd90b9e48ea75d6fad55 100644 (file)
@@ -60,7 +60,7 @@ struct gdbarch_selftest : public selftest
 
        QUIT;
 
-       TRY
+       try
          {
            struct gdbarch_info info;
 
@@ -72,13 +72,12 @@ struct gdbarch_selftest : public selftest
 
            function (gdbarch);
          }
-       CATCH (ex, RETURN_MASK_ERROR)
+       catch (const gdb_exception_error &ex)
          {
            pass = false;
            exception_fprintf (gdb_stderr, ex,
                               _("Self test failed: arch %s: "), arches[i]);
          }
-       END_CATCH
 
        reset ();
       }
This page took 0.024113 seconds and 4 git commands to generate.