Rewrite TRY/CATCH
[deliverable/binutils-gdb.git] / gdb / dtrace-probe.c
index bd5cddcf804c9dcb745b5a836dcd386f7298ec90..92fda24a3f7dc1d500d1652ee595ac102fe6c9bd 100644 (file)
@@ -484,15 +484,14 @@ dtrace_process_dof_probe (struct objfile *objfile,
             int'.  */
           struct type *type = builtin_type (gdbarch)->builtin_long;
 
-         TRY
+         try
            {
              expr = parse_expression_with_language (type_str.c_str (),
                                                     language_c);
            }
-         CATCH (ex, RETURN_MASK_ERROR)
+         catch (const gdb_exception_RETURN_MASK_ERROR &ex)
            {
            }
-         END_CATCH
 
          if (expr != NULL && expr.get ()->elts[0].opcode == OP_TYPE)
            type = expr.get ()->elts[1].type;
This page took 0.025809 seconds and 4 git commands to generate.