commit | 73c59ad77c206edba4d01c47f75de7dbf118d016 | [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 | 8b6b654a5f24a481831828ff4e87fa2fe0309c1a [diff] | |
parent | 804de7a29efbcb759ba9f01123957b7dd839dda2 [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; }