-# Copyright 2009 Free Software Foundation, Inc.
+# Copyright 2009-2016 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
# Compile SPU binary.
if { [gdb_compile_cell_spu $srcfile $binary executable {debug}] != "" } {
- unsupported "Compile spu binary failed, so all tests in this file will automatically fail."
+ unsupported "compile spu binary failed, so all tests in this file will automatically fail."
return -1
}
gdb_load ${binary}
if ![runto_main] then {
- fail "Can't run to main"
+ fail "can't run to main"
return 0
}
-c_to "Marker SPUEA1" $srcfile
+c_to "Marker SPUEA1" $testfile.c
gdb_test "p myarray\[0\]" \
".*= 0" \
"p myarray\[0\]"
-c_to "Marker SPUEA2" $srcfile
+c_to "Marker SPUEA2" $testfile.c
gdb_test "p myarray\[0\]" \
".*= 1" \
"p myarray\[0\]"