Quick summary
One Tom missed? (MAKE THIS A SEPARATE PATCH)
https://sourceware.org/ml/gdb-patches/2014-04/msg00156.html
Use sigaction if available
Tweak