aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/cli-utils-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/cli-utils-selftests.c')
-rw-r--r--gdb/unittests/cli-utils-selftests.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/unittests/cli-utils-selftests.c b/gdb/unittests/cli-utils-selftests.c
index 6b0efe5..99b98bf 100644
--- a/gdb/unittests/cli-utils-selftests.c
+++ b/gdb/unittests/cli-utils-selftests.c
@@ -83,7 +83,7 @@ test_number_or_range_parser ()
minus_one.get_number ();
SELF_CHECK (false);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+ catch (const gdb_exception_error &ex)
{
SELF_CHECK (ex.reason == RETURN_ERROR);
SELF_CHECK (ex.error == GENERIC_ERROR);
@@ -219,7 +219,7 @@ test_parse_flags_qcs ()
&flags);
SELF_CHECK (false);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+ catch (const gdb_exception_error &ex)
{
SELF_CHECK (ex.reason == RETURN_ERROR);
SELF_CHECK (ex.error == GENERIC_ERROR);