commit | d5b90785e80b6810da4ef813642bbfd38af96318 | [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 | 037b8df1a52f434e654ebe1078afcfd5e1e4767f [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