Update the path to the GDB binary in the current NDK toolchain (flutter/engine#3177)

This commit is contained in:
Jason Simmons
2016-10-27 10:48:54 -07:00
committed by GitHub
parent ab147d1977
commit 1934a52f37

View File

@@ -46,8 +46,7 @@ class GdbClient(object):
SYSTEM_LIBS_PATH = '/tmp/flutter_gdb_device_libs'
def _gdb_local_path(self):
GDB_LOCAL_PATH = ('third_party/android_tools/ndk/toolchains/arm-linux-androideabi-4.9/'
'prebuilt/%s-x86_64/bin/arm-linux-androideabi-gdb')
GDB_LOCAL_PATH = ('third_party/android_tools/ndk/prebuilt/%s-x86_64/bin/gdb-orig')
if sys.platform.startswith('darwin'):
return GDB_LOCAL_PATH % 'darwin'
else: