Antti pointed out a problem in the patch I originally submitted which causes gdb to go into a loop if the child process exits. The attached updated patch corrects that problem.
paul
gdbthreads-650a.diff
Description: gdbthreads-650a.diff
