This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug remote/16622] set sysroot remote: is not enough for set debug-file-directory
- From: "temp4746 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 08 Sep 2017 23:30:52 +0000
- Subject: [Bug remote/16622] set sysroot remote: is not enough for set debug-file-directory
- Auto-submitted: auto-generated
- References: <bug-16622-4717@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=16622
temp4746 at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |temp4746 at gmail dot com
--- Comment #1 from temp4746 at gmail dot com ---
There are probably multiple causes for this not working.
One is that the colon character is used as a separator for debug-file-directory
so instead of search for "target:/usr/lib/debug/<...>" it will search for
"target/<...>" and "/usr/lib/debug/<...>" locally.
And since the directory to search for a symbol file for a remote file already
has a "target:" prefix (if I understood the code correctly), than it will be
looking for /usr/lib/debug/target:/.../<...> locally anyhow. The "target:"
prefix will be in the middle of the path.
A newer gdb with "set debug separate-debug-file 1" can help show what is going
on.
--
You are receiving this mail because:
You are on the CC list for the bug.