~/work$ ./gdbserver host:50000 ./sigtest Process ./sigtest created; pid = 26290 Got an event from 26290 (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 26290 (step, signal 0, stop not expected) stop pc (before any decrement) is 080480e0 Got an event from 26290 (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 26290 (continue, signal 0, stop not expected) stop pc (before any decrement) is 080480e2 [sigtest:26290:1024]:main Got an event from 26290 (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 26291) Writing 01 to 080b6ac8 Writing 55 to 0804ac08 Resuming process 26290 (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 26291 (137f) stop pc (before any decrement) is 0804e76f Expected stop. Resuming process 26291 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0804e76f Got an event from 26290 (57f) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804ac09 Reinserted breakpoint. Writing ffffffcc to 0804ac08 Resuming process 26290 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804e76f Ignored signal 32 for 2049 (LWP 26291). Resuming process 26291 (continue, signal 32, stop not expected) stop pc (before any decrement) is 0804e76f Got an event from 26291 (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 26292) Writing 01 to bf7ffdc8 Writing 55 to 0804ac08 Resuming process 26291 (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 26292 (137f) stop pc (before any decrement) is 0804e76f Expected stop. Resuming process 26292 (continue, signal 0, stop not expected) stop pc (before any decrement) is 0804e76f Got an event from 26291 (57f) stop pc (before any decrement) is 0804ac09 stop pc (before any decrement) is 0804ac09 Reinserted breakpoint. Writing ffffffcc to 0804ac08 Resuming process 26291 (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 26290). Resuming process 26290 (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 26292). Resuming process 26292 (continue, signal 32, stop not expected) stop pc (before any decrement) is 0804e76f [sigtest:26292:1026]:func [sigtest:26290:1024]:send SIGUSR1 Got an event from 26292 (a7f) stop pc (before any decrement) is 0804e76f Sending sigstop to process 26290 Sending sigstop to process 26291 Got an event from 26290 (137f) stop pc (before any decrement) is 08053f51 Got an event from 26291 (137f) stop pc (before any decrement) is 08054a66 Writing resume reply for 1026 Resuming, no pending status Resuming process 26292 (continue, signal 10, stop not expected) stop pc (before any decrement) is 0804e76f [sigtest:26292:1026]:sigwait 10