Fix access_to_packed_array.exp typos/errors
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 27 Oct 2015 05:08:45 +0000 (06:08 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 27 Oct 2015 05:08:45 +0000 (06:08 +0100)
commit5e2e7507b4ef8410501452224d98071657ea2d53
tree52adc0d233fc5a9f948fe4535ea0d4735700e407
parenta04a15f586590f1969ab31478f0b04243f760769
Fix access_to_packed_array.exp typos/errors

Running ./gdb.ada/access_to_packed_array.exp ...
ERROR: tcl error sourcing ./gdb.ada/access_to_packed_array.exp.
ERROR: extra characters after close-quote
    while executing
"gdb_test "print pack.a" "\\(0 => 1, 2, 3, 4, 5, 6, 7, 8, 9, 10\\)")"
    (file "./gdb.ada/access_to_packed_array.exp" line 29)
    invoked from within
"source ./gdb.ada/access_to_packed_array.exp"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 source ./gdb.ada/access_to_packed_array.exp"
    invoked from within
"catch "uplevel #0 source $test_file_name""

Unrelated to the typos I have changed the print expectations s/"x"/" = x"/
as for example expectation "3" should not match " = 43".

2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/access_to_packed_array.exp