summaryrefslogtreecommitdiffstats
path: root/debuggerd/mips
Commit message (Collapse)AuthorAgeFilesLines
* Remove the pt_regs_mips_t structure.Christopher Ferris2015-01-261-14/+2
| | | | | | | The kernel finally has the pt_regs structure properly defined for mips, so we don't need to define it ourselves. Change-Id: Ifdf75ed827cd2390962e9b3a182bdbbf02fe0732
* Updated non-ARM archs to reflect logging changes.Brigid Smith2014-06-191-1/+1
| | | | Change-Id: I0af865881c19ea4a57ec1aa9455bc32c08a60d75
* Changing how debuggerd filters log messages to different locations.Brigid Smith2014-06-161-38/+33
| | | | | | | | | | | | | 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
* Fix register dump and back trace after a crash.Douglas Leung2014-05-211-2/+14
| | | | | Change-Id: Ie5f6624b9dcf81d84769b9cdaf9d8a301c8826f7 Signed-off-by: Douglas Leung <douglas@mips.com>
* Fix mips debuggerd <corkscrew/ptrace.h> build breakage.Elliott Hughes2014-05-071-4/+2
| | | | | | | The uapi headers have everything we need, and the corkscrew header files have been removed. Change-Id: I274b44463638112f1ab290926094c094c9253586
* debuggerd: a few generic improvementsKévin PETIT2014-01-301-55/+0
| | | | | | | | | | 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>
* Next phase of the move, reformat use C++ features.Christopher Ferris2014-01-131-142/+130
| | | | | | | | | | | | | | | | | 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
* Move to C++ for debuggerd.Christopher Ferris2014-01-101-0/+0
| | | | | | | | | 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
* Switch MIPS over to <sys/user.h>.Elliott Hughes2013-11-201-1/+1
| | | | | Bug: 11559337 Change-Id: I47ce51ec2d45d9cfdfbb6cccce93a66b0f02d967
* Update debuggerd to use libbacktrace.Christopher Ferris2013-10-031-26/+21
| | | | | | | | | | | | Remove all of the code in debuggerd that uses libcorkscrew directly and replace with libbacktrace. Also do a bit of refactoring to clean up some functions that were passing around variables that weren't used. Bug: 8410085 Change-Id: I27da4fbe3f12ce38a85b4432fc1119984c9c391b
* Uploaded native crash dumps do not include memory contentsChristopher Tate2013-04-051-19/+20
| | | | | | | | | Also fixed the LOG() macro to actually write to the log again, tracking the change in _LOG() argument semantics. Bug 8322568 Change-Id: I79330c85c26d3ffb734315b6d0f2c0bb80bd234a
* [MIPS] debuggerd and libcorkscrew supportChris Dearman2012-08-102-0/+226
Change-Id: I5a241dc2e470148be0ad2c138e31f1aba5ab8812