# First, print the array without the indexes
gdb_test_no_output "set print array-indexes off" \
# First, print the array without the indexes
gdb_test_no_output "set print array-indexes off" \
# Second, print the same array with the indexes
gdb_test_no_output "set print array-indexes on" \
# Second, print the same array with the indexes
gdb_test_no_output "set print array-indexes on" \
gdb_test "print array" \
"\\{\\\[0\\\] = 1, \\\[1\\\] = 2, \\\[2\\\] = 3, \\\[3\\\] = 4\\}" \
gdb_test "print array" \
"\\{\\\[0\\\] = 1, \\\[1\\\] = 2, \\\[2\\\] = 3, \\\[3\\\] = 4\\}" \