From 35c8136d96a6007ac83f828ac02cc6b75d3f5cc0 Mon Sep 17 00:00:00 2001 From: Christopher Ferris Date: Fri, 12 Jun 2015 23:03:22 -0700 Subject: [PATCH] Remove PtraceRead error message. This error message has no meaning and makes it look like an unwinding failure occurred. These messages are showing up more often now that a lot more of debuggerd is using the ReadWord and Read calls. If a higher level function wants to indicate there is an error, then it can add a more meaningful error. Bug: 21818730 Change-Id: I83aca9cf241aee99e7425059b1b6e0d229c08a5e --- libbacktrace/BacktracePtrace.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libbacktrace/BacktracePtrace.cpp b/libbacktrace/BacktracePtrace.cpp index e10cce12f..fd8b7134f 100644 --- a/libbacktrace/BacktracePtrace.cpp +++ b/libbacktrace/BacktracePtrace.cpp @@ -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(addr), nullptr); if (*out_value == static_cast(-1) && errno) { - BACK_LOGW("invalid pointer %p reading from tid %d, ptrace() strerror(errno)=%s", - reinterpret_cast(addr), tid, strerror(errno)); return false; } return true;