• Home
  • Raw
  • Download

Lines Matching refs:format

34         return path.format(root, arch, "64")
36 return path.format(root, arch, "")
43 line, _ = device.shell(["grep", "-e", "^TracerPid:", "/proc/{}/status".format(pid)])
87 sys.exit(msg.format(target_device, name))
93 msg = "failed to find running process {}".format(process_name)
97 msg = "multiple processes match '{}': {}".format(process_name, pids)
149 "please provide an absolute path.".format(args.run_cmd[0]))
159 sys.exit("failed to pull binary for PID {}".format(pid))
163 " symbols may not be available.".format(sysroot))
172 "name": "(gdbclient.py) Attach {} (port: {})".format(binary_name.split("/")[-1], port),
178 "miDebuggerServerAddress": "localhost:{}".format(port),
189 "text": "-environment-directory {}".format(root),
194 "text": "-gdb-set solib-search-path {}".format(":".join(solib_search_path)),
199 "text": "-gdb-set solib-absolute-prefix {}".format(sysroot),
207 "text": "-interpreter-exec console \"source {}\"".format(dalvik_gdb_script),
216 gdb_commands += "file '{}'\n".format(binary_name)
217 gdb_commands += "directory '{}'\n".format(root)
218 gdb_commands += "set solib-absolute-prefix {}\n".format(sysroot)
219 gdb_commands += "set solib-search-path {}\n".format(solib_search_path)
221 gdb_commands += "source {}\n".format(dalvik_gdb_script)
246 """.format(port, connect_timeout)
266 "be available").format(dalvik_gdb_script))
284 "Environment variable '{}' not defined, have you run lunch?".format(env))
320 gdbserver_remote_path = "/data/local/tmp/{}-gdbserver".format(arch)
326 print "Connecting to tracing pid {} using local port {}".format(tracer_pid, args.port)
328 remote="tcp:{}".format(args.port))
336 sys.exit("Unknown platform: {}".format(sys.platform))