diff options
Diffstat (limited to 'gdb/testsuite/gdb.ada')
-rw-r--r-- | gdb/testsuite/gdb.ada/access_to_packed_array.exp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.ada/access_to_packed_array.exp b/gdb/testsuite/gdb.ada/access_to_packed_array.exp index 0dca780..1bf3e22 100644 --- a/gdb/testsuite/gdb.ada/access_to_packed_array.exp +++ b/gdb/testsuite/gdb.ada/access_to_packed_array.exp @@ -26,8 +26,8 @@ clean_restart ${testfile} set bp_location [gdb_get_line_number "BREAK" ${testdir}/foo.adb] runto "foo.adb:$bp_location" -gdb_test "print pack.a" "\\(0 => 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\\)") -gdb_test "pack.aa" "\\(access pack\\.array_type\\) 0x.* <pack\\.a>") +gdb_test "print pack.a" " = \\(0 => 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\\)" +gdb_test "print pack.aa" " = \\(access pack\\.array_type\\) 0x.* <pack\\.a>" -gdb_test "pack.a(2)" "3" -gdb_test "pack.aa(2)" "3" +gdb_test "print pack.a(2)" " = 3" +gdb_test "print pack.aa(2)" " = 3" |