> Roland, do you see other problems with attach/detach which > should be fixed before v1?
It depends what v1 means, on which I am not entirely clear. If you just mean being work-alike compatible, then the proof is in the pudding. Like I said before, if it doesn't regress any tests, including on past gdb's MT attach behavior, and differs (if at all) only on the behaviors of leaving it stopped or not on detach, then that is probably fine. For "merge-worthy", aside from readability/comment cleanup in ptrace.c itself, we still have some deeper issues like a non-kludgey way to do synchronization that also proves utrace proper can be used without a special kludge to implement anything real. I'm guessing that's what you mean will be v>1. Thanks, Roland