aboutsummaryrefslogtreecommitdiff
path: root/ndk-gdb.py
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2015-09-03 16:42:31 -0700
committerJosh Gao <jmgao@google.com>2015-09-04 15:57:11 -0700
commit371bdb58ec6e7775630c8f206885920dbd11bf31 (patch)
treefc6f09630df4ed8ac9bc3d19d462055bcc3c4ecd /ndk-gdb.py
parentb03994185434fd9e588f8c9a2e4ffb7a2d9a28ee (diff)
downloadndk-371bdb58ec6e7775630c8f206885920dbd11bf31.tar.gz
Replace useless call to ls with useless call to echo for speed.
Saves about 25ms on my machine. Bug: http://b/23793246 Change-Id: I89484477c200825eeee1d2c9c3f3e1df3c225222
Diffstat (limited to 'ndk-gdb.py')
-rwxr-xr-xndk-gdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ndk-gdb.py b/ndk-gdb.py
index f4f4b1c5c..41b178dc0 100755
--- a/ndk-gdb.py
+++ b/ndk-gdb.py
@@ -586,7 +586,7 @@ def main():
APP_ABIS = APP_ABIS[:APP_ABIS.index('all')]+ALL_ABIS+APP_ABIS[APP_ABIS.index('all')+1:]
log('ABIs targetted by application: %s' % (' '.join(APP_ABIS)))
- retcode,ADB_TEST = adb_cmd(True,['shell', 'ls'])
+ retcode, ADB_TEST = adb_cmd(True, ['shell', 'echo'])
if retcode != 0:
print(ADB_TEST)
error('''Could not connect to device or emulator!