The 'Windows all-stop, interrupt with "stopped" instead of SIGTRAP'
patch should make this unnecessary.
Change-Id: I06925ae317784e6babd57a8d1904945bb01d2b9d
{
pass $description
}
+ -re "Thread .* received signal SIGTRAP.*$gdb_prompt $"
+ {
+ pass $description
+ }
timeout
{
fail "$description (timeout)"
# Make sure we're stopped in the loop, in one of the non-main threads.
proc goto_loop { msg } {
- gdb_breakpoint [concat [gdb_get_line_number "schedlock.exp: main loop"] " if arg != 0"]
+ gdb_breakpoint [concat "$::srcfile:" [gdb_get_line_number "schedlock.exp: main loop"] " if arg != 0"]
set test "return to loop"
if {$msg != ""} {