Lines Matching refs:sysroot
93 def ensure_linker(device, sysroot, is64bit): argument
94 local_path = os.path.join(sysroot, "system", "bin", "linker")
103 def handle_switches(args, sysroot): argument
140 binary_file, local = gdbrunner.find_file(device, run_cmd[0], sysroot,
145 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
152 " symbols may not be available.".format(sysroot))
157 def generate_gdb_script(sysroot, binary_file, is64bit, port, connect_timeout=5): argument
161 symbols_dir = os.path.join(sysroot, "system", "lib64" if is64bit else "lib")
162 vendor_dir = os.path.join(sysroot, "vendor", "lib64" if is64bit else "lib")
174 gdb_commands += "set solib-absolute-prefix {}\n".format(sysroot)
228 sysroot = os.path.join(os.environ["ANDROID_PRODUCT_OUT"], "symbols")
238 binary_file, pid, run_cmd = handle_switches(args, sysroot)
245 ensure_linker(device, sysroot, is64bit)
262 gdb_commands = generate_gdb_script(sysroot=sysroot,