# Compile SPU binary.
if { [gdb_compile_cell_spu $spu_src $spu_bin executable {debug}] != "" } {
- unsupported "Compiling spu binary failed."
+ unsupported "compiling spu binary failed."
return -1
}
# Compile PPU binary.
if { [gdb_cell_embedspu $spu_bin $spu_bin-embed.o {debug}] != "" } {
- unsupported "Embedding spu binary failed."
+ unsupported "embedding spu binary failed."
return -1
}
if { [gdb_compile_cell_ppu [list $ppu_src $spu_bin-embed.o] $ppu_bin executable {debug}] != "" } {
- unsupported "Compiling ppu binary failed."
+ unsupported "compiling ppu binary failed."
return -1
}
"startup architecture is powerpc:common"
if ![runto_main] then {
- fail "Can't run to main"
+ fail "can't run to main"
return 0
}
send_gdb "thread\n"
gdb_expect 10 {
-re "Current thread is (\[0-9\]*) .*\r\n$gdb_prompt $" {
- pass "Retrieve current thread"
+ pass "retrieve current thread"
set thread_id $expect_out(1,string)
}
-re "$gdb_prompt $" {
- fail "Retrieve current thread"
+ fail "retrieve current thread"
return 0
}
timeout {
- fail "Retrieve current thread (timed out)"
+ fail "retrieve current thread (timed out)"
return 0
}
}