Lines Matching refs:format
60 return path.format(root, arch, "64")
62 return path.format(root, arch, "")
88 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
140 sys.exit(msg.format(target_device, ", ".join(names)))
146 msg = "failed to find running process {}".format(process_name)
150 msg = "multiple processes match '{}': {}".format(process_name, pids)
250 "please provide an absolute path.".format(args.run_cmd[0]))
260 sys.exit("failed to pull binary for PID {}".format(pid))
264 " symbols may not be available.".format(sysroot))
276 "name": "(lldbclient.py) Attach {} (port: {})".format(binary_name.split("/")[-1], port),
281 "initCommands": ['settings append target.exec-search-paths {}'.format(' '.join(solib_search_path))],
282 "targetCreateCommands": ["target create {}".format(binary_name),
283 "target modules search-paths add / {}/".format(sysroot)],
284 "processCreateCommands": ["gdb-remote {}".format(port)]
293 "name": "(gdbclient.py) Attach {} (port: {})".format(binary_name.split("/")[-1], port),
299 "miDebuggerServerAddress": "localhost:{}".format(port),
310 "text": "-environment-directory {}".format(root),
315 "text": "-gdb-set solib-search-path {}".format(":".join(solib_search_path)),
320 "text": "-gdb-set solib-absolute-prefix {}".format(sysroot),
328 "text": "-interpreter-exec console \"source {}\"".format(dalvik_gdb_script),
337 gdb_commands += "file '{}'\n".format(binary_name)
338 gdb_commands += "directory '{}'\n".format(root)
339 gdb_commands += "set solib-absolute-prefix {}\n".format(sysroot)
340 gdb_commands += "set solib-search-path {}\n".format(solib_search_path)
342 gdb_commands += "source {}\n".format(dalvik_gdb_script)
367 """.format(port, connect_timeout)
375 'settings append target.exec-search-paths {}'.format(' '.join(solib_search_path)))
377 commands.append('target create {}'.format(binary_name))
379 commands.append("settings append target.source-map '/b/f/w' '{}'".format(root))
380 commands.append("settings append target.source-map '' '{}'".format(root))
381 commands.append('target modules search-paths add / {}/'.format(sysroot))
382 commands.append('gdb-remote {}'.format(port))
404 "be available").format(dalvik_gdb_script))
428 "Environment variable '{}' not defined, have you run lunch?".format(env))
440 sys.exit("Error: --setup-forwarding={} requires '--no-lldb'.".format(
443 sys.exit("Error: --setup-forwarding={} requires '--lldb'.".format(
468 sys.exit("Unknown platform: {}".format(sys.platform))
494 server_remote_path = "/data/local/tmp/{}-lldb-server".format(
498 server_remote_path = "/data/local/tmp/{}-gdbserver".format(
506 "Connecting to tracing pid {} using local port {}".format(
509 remote="tcp:{}".format(args.port))
539 if args.setup_forwarding == "vscode-{}".format(debugger_name):
548 finished to shutdown the gdbserver and close all the ports.""".format(name=debugger_name)))