History log of /system/core/debuggerd/mips/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/mips/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/mips/machine.cpp
b817094081bb22f33bcd688d583d619b099eb32f 26-Jan-2015 Christopher Ferris <cferris@google.com> Remove the pt_regs_mips_t structure.

The kernel finally has the pt_regs structure properly defined for mips,
so we don't need to define it ourselves.

Change-Id: Ifdf75ed827cd2390962e9b3a182bdbbf02fe0732
/system/core/debuggerd/mips/machine.cpp
e17f267b2a54d4b1a2b440a94ce06818ece49c7b 19-Jun-2014 Brigid Smith <brigidsmith@google.com> Updated non-ARM archs to reflect logging changes.

Change-Id: I0af865881c19ea4a57ec1aa9455bc32c08a60d75
/system/core/debuggerd/mips/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/mips/machine.cpp
6254f32f21a976b61cb13c7ee9caf17e6b675403 21-May-2014 Douglas Leung <douglas@mips.com> Fix register dump and back trace after a crash.

Change-Id: Ie5f6624b9dcf81d84769b9cdaf9d8a301c8826f7
Signed-off-by: Douglas Leung <douglas@mips.com>
/system/core/debuggerd/mips/machine.cpp
99d4a697c7f8968bb9b8f9dea61d7be712fc206b 08-May-2014 Elliott Hughes <enh@google.com> Fix mips debuggerd <corkscrew/ptrace.h> build breakage.

The uapi headers have everything we need, and the corkscrew
header files have been removed.

Change-Id: I274b44463638112f1ab290926094c094c9253586
/system/core/debuggerd/mips/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/mips/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/mips/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/mips/machine.cpp