diff options
author | Christopher Ferris <cferris@google.com> | 2015-06-12 23:03:22 -0700 |
---|---|---|
committer | Christopher Ferris <cferris@google.com> | 2015-06-12 23:32:20 -0700 |
commit | 5c57518b6ffb22b815f29ae36d9a77aef3b69330 (patch) | |
tree | c65149a2d1b5c650837c9dfa4c4b90896a4a9a1d /libbacktrace | |
parent | e5b0c837856007812ace8ec5849f6852015d5d2b (diff) | |
download | system_core-5c57518b6ffb22b815f29ae36d9a77aef3b69330.zip system_core-5c57518b6ffb22b815f29ae36d9a77aef3b69330.tar.gz system_core-5c57518b6ffb22b815f29ae36d9a77aef3b69330.tar.bz2 |
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
(cherry picked from commit 35c8136d96a6007ac83f828ac02cc6b75d3f5cc0)
Change-Id: Ie6e20fbc18702fde935f2cf8cbf1b297fda43282
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/BacktracePtrace.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libbacktrace/BacktracePtrace.cpp b/libbacktrace/BacktracePtrace.cpp index e10cce1..fd8b713 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<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; |