This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/16622] set sysroot remote: is not enough for set debug-file-directory


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]