Make it easier to run libjdwp.so as debugger for run-test
Adds a --debug-agent argument to run test that allows one to specify
the path for a debugger JVMTI agent. Also adds a --debug-wrap-agent
option that makes the agent specified by --debug-agent use
libwrapagentproperties to ensure compatibility.
Currently this only supports host use.
Also refactored JVMTI plugin loading slightly since it was getting
to be required by a large number of different options.
Test: ./test/run-test \
--debug-agent $ANDROID_JAVA_HOME/jre/lib/amd64/libjdwp.so \
--debug-wrap-agent \
--64 \
--host \
001-HelloWorld
Bug: 67752243
Change-Id: Ie0b38999826cc09651a6d100be6acccf79e706dc
2 files changed