gdb_test "handle SIGHUP nostop noprint pass" \
"SIGHUP.*No.*No.*Yes.*"
gdb_test "catch signal" "Catchpoint .*"
- gdb_test "continue" "Catchpoint .*"
+ gdb_test "continue" "Catchpoint .*" "continue to first HUP"
# Now ensure that the "pass" setting worked, and also that we did not
# see gdb's SIGTRAP.
gdb_breakpoint ${srcfile}:[gdb_get_line_number "second HUP"]
gdb_continue_to_breakpoint "second HUP"
gdb_test "catch signal $signame" "Catchpoint .*"
- gdb_test "continue" "Catchpoint .*"
+ gdb_test "continue" "Catchpoint .*" "continue to catch signal $signame"
delete_breakpoints
# Catch just SIGUSR1 -- but it isn't sent.
y
gdb_test "catch signal SIGINT" "Catchpoint .*"
gdb_test "continue" "Catchpoint .* SIGINT.*"
-
}
}