commit | ad77019d21031ce73d0d00686a4226ac2902d50e | [log] [tgz] |
---|---|---|
author | TreeHugger Robot <treehugger-gerrit@google.com> | Thu Aug 11 20:09:30 2016 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Aug 11 20:09:30 2016 +0000 |
tree | 692088cfb84d66f36b9ea091ce7d1e178777640b | |
parent | eb1c7ed4fcc76aa5447b4c48e4cd67daed0ae4dc [diff] | |
parent | ffd89e6c6b3cfd53a7ca7a6674eaebc90acc2544 [diff] |
Merge "DO NOT MERGE: adb: reenable (and fix) Windows build." into mnc-dev
diff --git a/debuggerd/tombstone.cpp b/debuggerd/tombstone.cpp index aeffc66..d04b721 100644 --- a/debuggerd/tombstone.cpp +++ b/debuggerd/tombstone.cpp
@@ -447,7 +447,7 @@ } // Skip this thread if cannot ptrace it - if (ptrace(PTRACE_ATTACH, new_tid, 0, 0) < 0) { + if (!ptrace_attach_thread(pid, new_tid)) { _LOG(log, logtype::ERROR, "ptrace attach to %d failed: %s\n", new_tid, strerror(errno)); continue; }