diff options
Diffstat (limited to 'gdb/testsuite/gdb.ada/arr_arr.exp')
-rw-r--r-- | gdb/testsuite/gdb.ada/arr_arr.exp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.ada/arr_arr.exp b/gdb/testsuite/gdb.ada/arr_arr.exp index dc641ae..1f252f0 100644 --- a/gdb/testsuite/gdb.ada/arr_arr.exp +++ b/gdb/testsuite/gdb.ada/arr_arr.exp @@ -1,4 +1,4 @@ -# Copyright 2014-2024 Free Software Foundation, Inc. +# Copyright 2014-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 @@ -30,5 +30,6 @@ if {![runto "foo.adb:$bp_location"]} { return } +# Accept "foo." prefix for older versions of GNAT. gdb_test "ptype a2" \ - " = array \\(1 \\.\\. 2\\) of foo.array2_first" + " = array \\(1 \\.\\. 2\\) of (foo.)?array2_first" |