~/work$ ./gdbserver host:50000 ./sigtest Process ./sigtest created; pid = 26306 Got an event from 26306 (57f) stop pc (before any decrement) is 080480e0 stop pc (before any decrement) is 080480e0 Hit a (non-reinsert) breakpoint. Listening on port 50000 Remote debugging from host 127.0.0.1 Writing ffffff80 to 080c06dc Writing ffffffcc to 0804ac08 Writing 01 to 080b66c8 Resuming, no pending status Resuming process 26306 (step, signal 0, stop not expected) stop pc (before any decrement) is 080480e0 Got an event from 26306 (57f) stop pc (before any decrement) is 080480e2 stop pc (before any decrement) is 080480e2 Hit a (non-reinsert) breakpoint. Writing resume reply for 1024 Writing ffffffcc to 080480e0 Resuming, no pending status Resuming process 26306 (continue, signal 0, stop not expected) stop pc (before any decrement) is 080480e2 [sigtest:26306:1024]:main Got an event from 26306 (57f) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804ac09 Hit a (non-reinsert) breakpoint. Thread creation event. Writing 00 to 080b6acc Attaching to thread 2049 (LWP 26307) Writing 01 to 080b6ac8 Writing 55 to 0804ac08 Resuming process 26306 (step, signal 0, stop not expected) pending reinsert at 0804ac08Checking for breakpoint. stop pc (before any decrement) is 0804ac09 Removed breakpoint. set pc to 0804ac08 stop pc (before any decrement) is 0804ac08 Got an event from 26306 (57f) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804ac09 Reinserted breakpoint. Writing ffffffcc to 0804ac08 Resuming process 26306 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0804ac09 Got an event from 26307 (137f) stop pc (before any decrement) is 0805536a Expected stop. Resuming process 26307 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0805536a Got an event from 26307 (57f) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804ac09 Hit a (non-reinsert) breakpoint. Thread creation event. Writing 00 to bf7ffdcc Attaching to thread 1026 (LWP 26308) Writing 01 to bf7ffdc8 Writing 55 to 0804ac08 Resuming process 26307 (step, signal 0, stop not expected) pending reinsert at 0804ac08Checking for breakpoint. stop pc (before any decrement) is 0804ac09 Removed breakpoint. set pc to 0804ac08 stop pc (before any decrement) is 0804ac08 Got an event from 26308 (137f) stop pc (before any decrement) is 0804e76f Expected stop. Resuming process 26308 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0804e76f Got an event from 26307 (57f) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804ac09 Reinserted breakpoint. Writing ffffffcc to 0804ac08 Resuming process 26307 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804e76f Ignored signal 32 for 1024 (LWP 26306). Resuming process 26306 (continue, signal 32, stop not expected) stop pc (before any decrement) is 0804e76f stop pc (before any decrement) is 0804e76f Ignored signal 32 for 1026 (LWP 26308). Resuming process 26308 (continue, signal 32, stop not expected) stop pc (before any decrement) is 0804e76f [sigtest:26308:1026]:func [sigtest:26306:1024]:send SIGUSR1 Got an event from 26308 (a7f) stop pc (before any decrement) is 0804e76f Sending sigstop to process 26306 Sending sigstop to process 26307 Got an event from 26306 (137f) stop pc (before any decrement) is 08053f51 Got an event from 26307 (137f) stop pc (before any decrement) is 08054a66 Writing resume reply for 1026 Resuming, no pending status Resuming process 26308 (continue, signal 10, stop not expected) stop pc (before any decrement) is 0804e76f [sigtest:26308:1026]:sigwait 10