diff options
Diffstat (limited to 'gdb/printcmd.c')
-rw-r--r-- | gdb/printcmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/printcmd.c b/gdb/printcmd.c index 8b6f1ca..9e84594 100644 --- a/gdb/printcmd.c +++ b/gdb/printcmd.c @@ -1887,7 +1887,7 @@ do_one_display (struct display *d) d->exp = parse_expression (d->exp_string, &tracker); d->block = tracker.block (); } - catch (const gdb_exception_RETURN_MASK_ALL &ex) + catch (const gdb_exception &ex) { /* Can't re-parse the expression. Disable this display item. */ d->enabled_p = 0; @@ -1952,7 +1952,7 @@ do_one_display (struct display *d) addr = gdbarch_addr_bits_remove (d->exp->gdbarch, addr); do_examine (d->format, d->exp->gdbarch, addr); } - catch (const gdb_exception_RETURN_MASK_ERROR &ex) + catch (const gdb_exception_error &ex) { fprintf_filtered (gdb_stdout, _("<error: %s>\n"), ex.what ()); @@ -1986,7 +1986,7 @@ do_one_display (struct display *d) val = evaluate_expression (d->exp.get ()); print_formatted (val, d->format.size, &opts, gdb_stdout); } - catch (const gdb_exception_RETURN_MASK_ERROR &ex) + catch (const gdb_exception_error &ex) { fprintf_filtered (gdb_stdout, _("<error: %s>"), ex.what ()); } @@ -2189,7 +2189,7 @@ print_variable_and_value (const char *name, struct symbol *var, function. */ frame = NULL; } - catch (const gdb_exception_RETURN_MASK_ERROR &except) + catch (const gdb_exception_error &except) { fprintf_filtered (stream, "<error reading variable %s (%s)>", name, except.what ()); |