gdb: Don't skip prologue for explicit line breakpoints in assembler
[deliverable/binutils-gdb.git] / gdb / common / selftest.c
index 1e73708aeeada0e776b66611a47d1a9d4529c88f..f5a7b3c344b5cba6ad9416386db0ea0ba517dd54 100644 (file)
@@ -81,18 +81,17 @@ run_tests (const char *filter)
          && name.find (filter) == std::string::npos)
        continue;
 
-      TRY
+      try
        {
          debug_printf (_("Running selftest %s.\n"), name.c_str ());
          ++ran;
          (*test) ();
        }
-      CATCH (ex, RETURN_MASK_ERROR)
+      catch (const gdb_exception_error &ex)
        {
          ++failed;
          debug_printf ("Self test failed: %s\n", ex.what ());
        }
-      END_CATCH
 
       reset ();
     }
This page took 0.023972 seconds and 4 git commands to generate.