* gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
non-zero if control_c fails. Terminate the test on failure,
rather than wait for 12 more tests to time out.
+2001-06-04 Michael Snyder <msnyder@redhat.com>
+
+ * gdb.threads/pthreads.exp (check_control_c): Return 0 for success,
+ non-zero if control_c fails. Terminate the test on failure,
+ rather than wait for 12 more tests to time out.
+
2001-06-06 Jim Blandy <jimb@redhat.com>
* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):
}
timeout {
fail "$description (timeout)"
+ return 1;
}
}
gdb_test "bt" ""
if [all_threads_running] then {
pass "All threads running after continuing from ^C stop"
}
+ return 0;
}
proc check_backtraces {} {
if [runto_main] then {
clear_xfail "alpha-*-osf*"
if [test_startup] then {
- check_control_c
+ if [check_control_c] then {
+ warning "Could not stop child with ^C; skipping rest of tests.\n"
+ return;
+ }
check_backtraces
}
}