diff options
Diffstat (limited to 'gdb/dtrace-probe.c')
-rw-r--r-- | gdb/dtrace-probe.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/dtrace-probe.c b/gdb/dtrace-probe.c index bd5cddc..92fda24 100644 --- a/gdb/dtrace-probe.c +++ b/gdb/dtrace-probe.c @@ -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; |