+2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
+
+ * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
+ Update for changed thread numbering.
+ * gdb.cell/bt.exp: Update for changed GDB output.
+
2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
* boards/cc-with-tweaks.exp: Include local-board.exp instead of
}
delete_breakpoints
-gdb_test "continue" ".*Program received signal SIGABRT, Aborted.*"
+gdb_test "continue" ".*received signal SIGABRT, Aborted.*"
gdb_test "backtrace" ".*abort.*crash_handler.*base.*offset.*<cross-architecture call>.*main.*speid.*argp.*envp.*at.*$spu2_file.c.*<cross-architecture call>.*spe_context_run.*indirect_handler.*base.*offset.*<cross-architecture call>.*main.*speid.*argp.*envp.*at.*$spu_file.c.*<cross-architecture call>.*spe_context_run.*spe_thread.*at.*$ppu_file.c.*"
set ppu_bin [standard_output_file ${ppu_file}]
set spu_file "coremaker-spu"
set spu_src ${srcdir}/${subdir}/${spu_file}.c
-set spu_bin [standard_output_file ${ppu_file}]
+set spu_bin [standard_output_file ${spu_file}]
if {![isnative]} then {
return 0
timeout { fail "(timeout) core-file command" }
}
-gdb_test "t 6" "Switching to thread 6.*"
gdb_test "backtrace" ".*abort.*main.*at.*$ppu_file.c.*"
-for {set thread_id 1} {$thread_id < 6} {incr thread_id} {
+for {set thread_id 2} {$thread_id < 7} {incr thread_id} {
gdb_test "t $thread_id" \
"Switching to thread $thread_id.*" \
"switch to thread $thread_id"