diff options
Diffstat (limited to 'gdb/ada-valprint.c')
-rw-r--r-- | gdb/ada-valprint.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdb/ada-valprint.c b/gdb/ada-valprint.c index ac963a67561..5349e93dd02 100644 --- a/gdb/ada-valprint.c +++ b/gdb/ada-valprint.c @@ -1203,18 +1203,17 @@ ada_val_print (struct type *type, struct value *val, const struct value_print_options *options) { - TRY + try { ada_val_print_1 (type, embedded_offset, address, stream, recurse, val, options, current_language); } - CATCH (except, RETURN_MASK_ERROR) + catch (const gdb_exception_RETURN_MASK_ERROR &except) { fprintf_filtered (stream, _("<error reading variable: %s>"), except.what ()); } - END_CATCH } void |