aboutsummaryrefslogtreecommitdiff
path: root/gdb/rust-exp.y
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/rust-exp.y')
-rw-r--r--gdb/rust-exp.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/rust-exp.y b/gdb/rust-exp.y
index 4aed05c..2be2532 100644
--- a/gdb/rust-exp.y
+++ b/gdb/rust-exp.y
@@ -2621,7 +2621,7 @@ rust_lex_exception_test (rust_parser *parser, const char *input,
rust_lex_test_one (parser, input, DECIMAL_INTEGER);
SELF_CHECK (0);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &except)
+ catch (const gdb_exception_error &except)
{
SELF_CHECK (strcmp (except.what (), err) == 0);
}