diff options
author | David 'Digit' Turner <digit@google.com> | 2011-01-21 04:27:12 +0100 |
---|---|---|
committer | David 'Digit' Turner <digit@google.com> | 2011-01-21 04:27:12 +0100 |
commit | 02526d486803de153d03851f4d5f9be7c555e46c (patch) | |
tree | e259d7324cddf635a92e68252c0b1b260ed672e0 /rootdir | |
parent | c1b546b22dc229fdbef9105f010e3ac0172cfc8f (diff) | |
download | system_core-02526d486803de153d03851f4d5f9be7c555e46c.zip system_core-02526d486803de153d03851f4d5f9be7c555e46c.tar.gz system_core-02526d486803de153d03851f4d5f9be7c555e46c.tar.bz2 |
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
Diffstat (limited to 'rootdir')
0 files changed, 0 insertions, 0 deletions