aboutsummaryrefslogtreecommitdiff
path: root/gdb/unittests/parse-connection-spec-selftests.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/unittests/parse-connection-spec-selftests.c')
-rw-r--r--gdb/unittests/parse-connection-spec-selftests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/unittests/parse-connection-spec-selftests.c b/gdb/unittests/parse-connection-spec-selftests.c
index a33b3d8..a4beb66 100644
--- a/gdb/unittests/parse-connection-spec-selftests.c
+++ b/gdb/unittests/parse-connection-spec-selftests.c
@@ -216,7 +216,7 @@ test_conn (const parse_conn_test &c)
{
ret = parse_connection_spec (c.connspec, &hint);
}
- catch (const gdb_exception_RETURN_MASK_ERROR &ex)
+ catch (const gdb_exception_error &ex)
{
/* If we caught an error, we should check if this connection
spec was supposed to fail. */