commit | 1974dbccbf10a2dd8e06724d2fb4eb61fd91076a | [log] [tgz] |
---|---|---|
author | Petr Machata <pmachata@redhat.com> | Fri Aug 19 18:58:01 2011 +0200 |
committer | Petr Machata <pmachata@redhat.com> | Thu Oct 06 14:30:36 2011 +0200 |
tree | ead1800e4c4ee8868a2e941c2938bb730c1e61d9 | |
parent | 3c516d5ced53508d8df7d82914a3190a3235b62d [diff] |
Fix serious race in attach to many-threaded process - the gist is that tasks continue running while we attach, so more tasks come into existence, or the ones that we didn't attach to yet disappear, etc. - besides, we really can't enable breakpoints before we are done attaching, otherwise the still-running tasks risk running into them and dying of SIGTRAP.