diff options
Diffstat (limited to 'gdb/testsuite/gdb.dwarf2/count.exp')
-rw-r--r-- | gdb/testsuite/gdb.dwarf2/count.exp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gdb/testsuite/gdb.dwarf2/count.exp b/gdb/testsuite/gdb.dwarf2/count.exp index d2bde31..5c8f0f1 100644 --- a/gdb/testsuite/gdb.dwarf2/count.exp +++ b/gdb/testsuite/gdb.dwarf2/count.exp @@ -109,17 +109,17 @@ if ![runto_main] { return -1 } -gdb_test "ptype array" "type = char \\\[5\\\]" "ptype array" -gdb_test "whatis array" "type = char \\\[5\\\]" "whatis array" -gdb_test "print array" " = \"hello\"" "print array" -gdb_test "print sizeof array" " = 5" "print sizeof array" - -gdb_test "ptype array2" "type = char \\\[1\\\]" "ptype array" -gdb_test "whatis array2" "type = char \\\[1\\\]" "whatis array" -gdb_test "print array2" " = \"A\"" "print array" -gdb_test "print sizeof array2" " = 1" "print sizeof array" - -gdb_test "ptype static_array" "type = char \\\[5\\\]" "ptype static_array" -gdb_test "whatis static_array" "type = char \\\[5\\\]" "whatis static_array" -gdb_test "print static_array" " = \"world\"" "print static_array" -gdb_test "print sizeof static_array" " = 5" "print sizeof static_array" +gdb_test "ptype array" "type = char \\\[5\\\]" +gdb_test "whatis array" "type = char \\\[5\\\]" +gdb_test "print array" " = \"hello\"" +gdb_test "print sizeof array" " = 5" + +gdb_test "ptype array2" "type = char \\\[1\\\]" +gdb_test "whatis array2" "type = char \\\[1\\\]" +gdb_test "print array2" " = \"A\"" +gdb_test "print sizeof array2" " = 1" + +gdb_test "ptype static_array" "type = char \\\[5\\\]" +gdb_test "whatis static_array" "type = char \\\[5\\\]" +gdb_test "print static_array" " = \"world\"" +gdb_test "print sizeof static_array" " = 5" |