+The ptrace() system call has a new option flag, PTRACE_O_EXITKILL, which causes all traced processes to receive a SIGKILL signal if the tracing process exits unexpectedly.
+
+with gdb-6.8:
+http://openocd.berlios.de/doc/GDB-and-OpenOCD.html#GDB-and-OpenOCD