am de3bf277: Merge "Remove PtraceRead error message."

* commit 'de3bf277196e2a896ede3a5d81d92d394544616c':
  Remove PtraceRead error message.
This commit is contained in:
Christopher Ferris 2015-06-13 06:36:01 +00:00 committed by Android Git Automerger
commit 826e32edcb

View file

@ -37,8 +37,6 @@ static bool PtraceRead(pid_t tid, uintptr_t addr, word_t* out_value) {
errno = 0;
*out_value = ptrace(PTRACE_PEEKTEXT, tid, reinterpret_cast<void*>(addr), nullptr);
if (*out_value == static_cast<word_t>(-1) && errno) {
BACK_LOGW("invalid pointer %p reading from tid %d, ptrace() strerror(errno)=%s",
reinterpret_cast<void*>(addr), tid, strerror(errno));
return false;
}
return true;