History log of /system/core/debuggerd/test/BacktraceMock.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
456abbabf26f50f903a13aa87a57766236e8b5ad 10-Jul-2015 Christopher Ferris <cferris@google.com> Dump memory going from unreadable to readable.

If the first read when dumping memory returns no data, skip ahead to
the next page boundary and try and read from there. This fixes a case
where the address at which to start dumping memory is unreadable, but
crosses back into readable memory.

Bug: 22234753
Change-Id: Ie28d5c027013577ca06f5396aba498366a3b6749
/system/core/debuggerd/test/BacktraceMock.h
862fe029190b6d8344889988fb85526e64b2f4b7 02-Jun-2015 Christopher Ferris <cferris@google.com> Change the 64 bit map address format.

Previously, the map printing in tombstones for 64 bit devices uses
a variable length value. This means that the maps are not lined up.
The new format is to print the map as 00000000'00000000 in all ways.

Also fix a bug where the backtrace_map_t did not initialize all
parameters.

Add unit tests for all of the dump_all_maps function.

Bug: 20950813
Change-Id: I30901c8a0251b00d85c4c01476b033ef8db84e32
/system/core/debuggerd/test/BacktraceMock.h
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/test/BacktraceMock.h