Lines Matching refs:sysroot
99 def ensure_linker(device, sysroot, is64bit): argument
100 local_path = os.path.join(sysroot, "system", "bin", "linker")
109 def handle_switches(args, sysroot): argument
138 binary_file, local = gdbrunner.find_file(device, run_cmd[0], sysroot,
143 binary_file, local = gdbrunner.find_binary(device, pid, sysroot,
150 " symbols may not be available.".format(sysroot))
154 def generate_gdb_script(sysroot, binary_file, is64bit, port, connect_timeout=5): argument
158 symbols_dir = os.path.join(sysroot, "system", "lib64" if is64bit else "lib")
159 vendor_dir = os.path.join(sysroot, "vendor", "lib64" if is64bit else "lib")
171 gdb_commands += "set solib-absolute-prefix {}\n".format(sysroot)
220 sysroot = dump_var(root, "abs-TARGET_OUT_UNSTRIPPED")
230 binary_file, pid, run_cmd = handle_switches(args, sysroot)
237 ensure_linker(device, sysroot, is64bit)
248 gdb_commands = generate_gdb_script(sysroot=sysroot,