diff options
author | Alex Light <allight@google.com> | 2019-12-05 10:20:26 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2019-12-18 17:11:27 +0000 |
commit | 219420ea349960863f35b01353356c10a3736e57 (patch) | |
tree | 1ccd6c5c8d7e47d61144d8a22a951d9860da9dce /test/MultiDex/Second.java | |
parent | acd7060266dac5dbbba1698df4ae086754e8a2bf (diff) |
Run-test: Support using --gdb and --gdbserver with --chroot
--gdb and --gdbserver were unusable with --chroot due to --chroot
changing how dnslookup happened on device and differing symbol
directory setup.
This CL does the basic setup so that gdb can connect to the remote
program and (provided it is configured correctly) be used to debug it.
In order to get symbols one must set both the `solib-search-path` and
`solib-absolute-prefix` appropriately. See GDB documentation for more
information.
Test: ./test/run-test --gdbserver --chroot /data/local/art-test-chroot --64 001-HelloWorld
Change-Id: I598cb7654f5b8b669e1c658e25fb941c3d046666
Diffstat (limited to 'test/MultiDex/Second.java')
0 files changed, 0 insertions, 0 deletions