Merge "gdbclient.py: set directory for gdb." am: 66bb9fa2cd am: d5e4ae425c
am: 75b673784d
* commit '75b673784d49ffd0afbf49c431326a9d815ea1b2':
gdbclient.py: set directory for gdb.
This commit is contained in:
@@ -167,6 +167,7 @@ def generate_gdb_script(sysroot, binary_file, is64bit, port, connect_timeout=5):
|
|||||||
|
|
||||||
gdb_commands = ""
|
gdb_commands = ""
|
||||||
gdb_commands += "file '{}'\n".format(binary_file.name)
|
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-absolute-prefix {}\n".format(sysroot)
|
||||||
gdb_commands += "set solib-search-path {}\n".format(solib_search_path)
|
gdb_commands += "set solib-search-path {}\n".format(solib_search_path)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user