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)])
136 sys.exit(msg.format(target_device, name))
142 msg = "failed to find running process {}".format(process_name)
146 msg = "multiple processes match '{}': {}".format(process_name, pids)
246 "please provide an absolute path.".format(args.run_cmd[0]))
256 sys.exit("failed to pull binary for PID {}".format(pid))
260 " symbols may not be available.".format(sysroot))
269 "name": "(gdbclient.py) Attach {} (port: {})".format(binary_name.split("/")[-1], port),
275 "miDebuggerServerAddress": "localhost:{}".format(port),
286 "text": "-environment-directory {}".format(root),
291 "text": "-gdb-set solib-search-path {}".format(":".join(solib_search_path)),
296 "text": "-gdb-set solib-absolute-prefix {}".format(sysroot),
304 "text": "-interpreter-exec console \"source {}\"".format(dalvik_gdb_script),
313 gdb_commands += "file '{}'\n".format(binary_name)
314 gdb_commands += "directory '{}'\n".format(root)
315 gdb_commands += "set solib-absolute-prefix {}\n".format(sysroot)
316 gdb_commands += "set solib-search-path {}\n".format(solib_search_path)
318 gdb_commands += "source {}\n".format(dalvik_gdb_script)
343 """.format(port, connect_timeout)
351 'settings append target.exec-search-paths {}'.format(' '.join(solib_search_path)))
353 commands.append('target create {}'.format(binary_name))
354 commands.append("settings set target.source-map '' '{}'".format(root))
355 commands.append('target modules search-paths add / {}/'.format(sysroot))
356 commands.append('gdb-remote {}'.format(port))
378 "be available").format(dalvik_gdb_script))
399 "Environment variable '{}' not defined, have you run lunch?".format(env))
426 sys.exit("Unknown platform: {}".format(sys.platform))
450 server_remote_path = "/data/local/tmp/{}-lldb-server".format(
454 server_remote_path = "/data/local/tmp/{}-gdbserver".format(
462 "Connecting to tracing pid {} using local port {}".format(
465 remote="tcp:{}".format(args.port))