Merge "gdbclient.py: set directory for gdb."

am: 66bb9fa2cd

* commit '66bb9fa2cd8f13e0965f99c2b28ab8f0eb4e8e9e':
  gdbclient.py: set directory for gdb.
This commit is contained in:
Josh Gao
2015-10-22 23:37:39 +00:00
committed by android-build-merger

View File

@@ -167,6 +167,7 @@ def generate_gdb_script(sysroot, binary_file, is64bit, port, connect_timeout=5):
gdb_commands = ""
gdb_commands += "file '{}'\n".format(binary_file.name)
gdb_commands += "directory '{}'\n".format(root)
gdb_commands += "set solib-absolute-prefix {}\n".format(sysroot)
gdb_commands += "set solib-search-path {}\n".format(solib_search_path)