commit | e714ed27747a433938a02a766b8c8047a5c3b6ce | [log] [tgz] |
---|---|---|
author | Christopher Ferris <cferris@google.com> | Mon Dec 04 14:23:58 2017 -0800 |
committer | Christopher Ferris <cferris@google.com> | Mon Dec 04 14:27:34 2017 -0800 |
tree | 837a3f6d160ab764b8dc2cc3652d8ff60f7c6f06 | |
parent | b4fda18d8353cd4b27aefac832f392ad264facc4 [diff] |
Switch MemoryRemote to use ptrace. Some processes will fail to read when using process_vm_read, so switch back to ptrace for now. For example, the system_server process only gets two frames without this fix. Fix up some of the remote memory read unit tests to allow passing even when using ptrace. Bug: 70160908 Test: All unit tests pass, debuggerd -b <system_server pid> works. Change-Id: I37c67bf9c480d7268c9fe32dad6a8d78a4020b85