Use the Android NDK bin/gdb tool instead of gdb-orig in the Flutter GDB script (flutter/engine#30450)

This commit is contained in:
Jason Simmons
2021-12-21 15:54:09 -08:00
committed by GitHub
parent 440fc0b7f1
commit 0b80bfbea1

View File

@@ -84,7 +84,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/prebuilt/%s-x86_64/bin/gdb-orig')
GDB_LOCAL_PATH = ('third_party/android_tools/ndk/prebuilt/%s-x86_64/bin/gdb')
if sys.platform.startswith('darwin'):
return GDB_LOCAL_PATH % 'darwin'
else: