History log of /system/core/libbacktrace/BacktracePtrace.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
35c8136d96a6007ac83f828ac02cc6b75d3f5cc0 13-Jun-2015 Christopher Ferris <cferris@google.com> 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
/system/core/libbacktrace/BacktracePtrace.cpp
944f417ccb86441060ffb670b4bdc2975fda08fc 07-May-2015 Christopher Ferris <cferris@google.com> Fix small ptrace reads.

The BacktracePtrace::Read function crashes if the number of bytes to
read is less than the number of bytes needed to align the read to
a word_t boundary.

Fix this and add a test for this case.

Change-Id: I50808849ece44928f65dba1d25309e3885c829a2
/system/core/libbacktrace/BacktracePtrace.cpp
2c43cff01d1271be451671567955158629b23670 27-Mar-2015 Christopher Ferris <cferris@google.com> Refactor the code.

The object hierarchy was confusing and convoluted. This removes
a lot of unnecessary code, and consolidates the BacktraceCurrent
and BacktraceThread code into BacktraceCurrent.

Change-Id: I01c8407d493712a48169df49dd3ff46db4a7c3ae
/system/core/libbacktrace/BacktracePtrace.cpp