aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada/homonym.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.ada/homonym.exp')
-rw-r--r--gdb/testsuite/gdb.ada/homonym.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/homonym.exp b/gdb/testsuite/gdb.ada/homonym.exp
index 91a4e62..97a2ee2 100644
--- a/gdb/testsuite/gdb.ada/homonym.exp
+++ b/gdb/testsuite/gdb.ada/homonym.exp
@@ -1,4 +1,4 @@
-# Copyright 2008-2024 Free Software Foundation, Inc.
+# Copyright 2008-2025 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@ gdb_test "break homonym.adb:Get_Value" \
"set breakpoint at homonym.adb:Get_Value"
gdb_test "break <homonym__get_value>" \
- "Breakpoint \[0-9\]+ at $hex: file .*homonym\\.adb, line $decimal\\." \
+ ".*Breakpoint \[0-9\]+ at $hex: (file .*homonym\\.adb, line $decimal\\.|<homonym__get_value>\\. .2 locations.)" \
"set breakpoint at <homonym__get_value>"
delete_breakpoints