"get signal TERM"
gdb_test "continue" "Breakpoint.*handle_TERM.*" "send signal TERM"
-set testmsg "continue to sigall exit"
-gdb_test_multiple "continue" $testmsg {
- -re ".*Do you want to stop the program.*$" {
- send_gdb "yes\n"
- exp_continue
- }
- -re "$gdb_prompt " {
- pass $testmsg
- }
-}
+gdb_test "continue" "Program received .*" "continue to sigall exit" \
+ "The next instruction is syscall exit_group.* program...y. or n. " \
+ "yes"
test_one_sig_reverse TERM
test_one_sig_reverse 63