Really fix --gdb when running tests on target.
Change-Id: Ic96edb066d345839a4af371e7c10327713a045c7
diff --git a/test/etc/run-test-jar b/test/etc/run-test-jar
index 59d241a..9a32ec7 100755
--- a/test/etc/run-test-jar
+++ b/test/etc/run-test-jar
@@ -16,10 +16,11 @@
DEBUGGER="n"
DEV_MODE="n"
DEX2OAT=""
-GDB_SERVER="gdbserver"
FALSE_BIN="/system/bin/false"
FLAGS=""
GDB=""
+GDB_ARGS=""
+GDB_SERVER="gdbserver"
HAVE_IMAGE="y"
HOST="n"
INTERPRETER="n"
@@ -190,7 +191,6 @@
if [ "$USE_GDB" = "y" ]; then
if [ "$HOST" = "n" ]; then
GDB="$GDB_SERVER :5039"
- GDB_ARGS="$DALVIKVM"
else
if [ `uname` = "Darwin" ]; then
GDB=lldb