History log of /system/core/debuggerd/arm/machine.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b36b5923386be8d74da2767dfc1dc62a0012a655 18-Jun-2015 Christopher Ferris <cferris@google.com> Replace all _LOG error calls with ALOGE.

The debuggerd code sometimes calls _LOG(..., logtype::ERROR, ...)
and sometimes ALOGE(). Standardize on ALOGE since the _LOG message
will wind up in the tombstone in weird places, but using ALOGE
will wind up in the logcat portion of the tombstone.

Bug: 21467089
Change-Id: Ie893f5e91d45b48ef3f5864c3a714e60ac848fb3
/system/core/debuggerd/arm/machine.cpp
e8bc77eb845ab5557a4c98fe0da604d4a3740bef 22-May-2015 Christopher Ferris <cferris@google.com> Refactor dump_memory function.

- Add dumping memory around registers for x86/x86_64.
- Add unit tests for new dump_memory function.
- Cleanup all of the machine.cpp files.
- Increase the high address check for 32 bit, and decrease the high
address allowed for 64 bit slightly to match mips64.

Bug: 21206576
Change-Id: I6f75141f3282db48b10f7c695a1cf2eb75a08351
/system/core/debuggerd/arm/machine.cpp
b40c50351ebd9fb40b76a3169ad5cc6a25c453f1 15-Jul-2014 Elliott Hughes <enh@google.com> Add missing arm64 registers.

Also fix dumping of arm64's vector registers, which are actually 128 bits wide.

Also move the arm/arm64 FP registers to the tombstone. (We've never dumped
them at all for the other architectures.)

Change-Id: I239a86dd225b47fa90109bc824b7610df67ad812
/system/core/debuggerd/arm/machine.cpp
e7f18e14a9e9267150e24f0cb8bd8bd52db7946e 09-Jul-2014 Elliott Hughes <enh@google.com> Integrate vfp-crasher with crasher.

There's no good reason to separate "fill the integer registers with
recognizable patterns and crash" from "fill the FP registers with recognizable
patterns and crash".

Also remove the incorrect use of ARCH_ARM_HAVE_VFP_D32 rather than try to fix
it.

Change-Id: I3a4a3aca1575de5489314027ae52168997404d79
/system/core/debuggerd/arm/machine.cpp
62ba489ba00a2689d4e257bc178cff87495f99d7 10-Jun-2014 Brigid Smith <brigidsmith@google.com> Changing how debuggerd filters log messages to different locations.

The system by which debuggerd filters its output to different locations
is now based on an enum called logtype with easy to understand
categories for log messages (like THREAD, MEMORY, etc.) instead of the
old, fairly esoteric scope_flags variable. Now much of the output that
previously went to logcat does not show up on the screen, but all output
can be found in the tombstone file. In addition, the tombstone's
location is now printed so it can be located easily.

Bug: 15341747
Change-Id: Ia2f2051d1dfdea934d0e6ed220f24345e35ba6a2
/system/core/debuggerd/arm/machine.cpp
4bb477205a2446c3ba9db8df0b0446173065d9eb 18-Dec-2013 Kévin PETIT <kevin.petit@arm.com> debuggerd: a few generic improvements

This one makes dump_memory reasonably architecture-agnostic so it is
possible to share the code between architectures.

It also includes a few small improvements in tombstone.cpp.

Change-Id: Ib8a9599bfa420b41e80207988e87aee1b9d79541
Signed-off-by: Kévin PETIT <kevin.petit@arm.com>
/system/core/debuggerd/arm/machine.cpp
20303f856f1f1cdb5af58af0b116b8c598f0ea5c 11-Jan-2014 Christopher Ferris <cferris@google.com> Next phase of the move, reformat use C++ features.

Use the libbacktrace C++ interface instead of the C interface in debuggerd.

Reformat the debuggerd code to be closer to Google C++ style.

Fix all debuggerd casts to be C++ casts.

Add a frame number to the frame data structure for ease of formatting and
add another FormatFrameData function.

Change the format_test to use the new FormatFrameData function.

Modify all of the backtrace_test to use the C++ interface.

Change-Id: I10e1610861acf7f4a3ad53276b74971cfbfda464
/system/core/debuggerd/arm/machine.cpp
d607495b892fe6ffa1cd30eaad114eec97d77681 11-Jan-2014 Christopher Ferris <cferris@google.com> Move to C++ for debuggerd.

This is part 1, only including the bare minimum changes because
our diff tool doesn't easily show differences when a file moves. This
also breaks it into a small chunk in case some other changes break things,
as unlikely as I think that will be.

Change-Id: Ib7a3e7a2cc1ac574d15b65fda23813ebcf5d31af
/system/core/debuggerd/arm/machine.cpp