commit | 02526d486803de153d03851f4d5f9be7c555e46c | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@google.com> | Fri Jan 21 04:27:12 2011 +0100 |
committer | David 'Digit' Turner <digit@google.com> | Fri Jan 21 04:27:12 2011 +0100 |
tree | e259d7324cddf635a92e68252c0b1b260ed672e0 | |
parent | c1b546b22dc229fdbef9105f010e3ac0172cfc8f [diff] |
debuggerd: properly unblock signal handler. This change ensures that debuggered properly releases the signal handler that invoked it after the PTRACE_ATTACH. The previous code simply did a close() of the file descriptor, but for some reason, this didn't always make the read() blocking the signal handler exit. Instead, the thread would stay blocked and never fault, preventing the generation of a useful stack trace. Change-Id: I6b0579041165a710d74ec1bece113ff7b828aed4