Lines Matching refs:format
65 sys.exit(msg.format(adb_path))
180 gdbserver_cmd.extend(["--once", "+{}".format(debug_socket)])
187 forward_gdbserver_port(device, local=port, remote="localfilesystem:{}".format(debug_socket))
194 print("Redirecting gdbserver output to {}".format(gdbserver_output_path))
202 device.forward("tcp:{}".format(local), remote)
203 atexit.register(lambda: device.forward_remove("tcp:{}".format(local)))
227 raise ValueError("'{}' is not an absolute path".format(executable_path))
243 file_name = "gdbclient-binary-{}".format(os.getppid())
244 remote_temp_path = "/data/local/tmp/{}".format(file_name)
255 "device".format(executable_path))
262 raise RuntimeError('Could not find executable {}'.format(executable_path))
290 "device".format(executable_name))
294 return find_file(device, "/proc/{}/exe".format(pid), sysroot, run_as_cmd)
330 raise RuntimeError("unknown architecture: 0x{:x}".format(e_machine))