This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/9538] gdb creates debuginfo path incorrectly for symlinkedfiles
- From: "mail at eliasprobst dot eu" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Tue, 1 Feb 2011 21:47:01 +0000
- Subject: [Bug gdb/9538] gdb creates debuginfo path incorrectly for symlinkedfiles
- Auto-submitted: auto-generated
- References: <bug-9538-4717@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=9538
Elias Probst <mail at eliasprobst dot eu> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mail at eliasprobst dot eu
--- Comment #1 from Elias Probst <mail at eliasprobst dot eu> 2011-02-01 21:46:55 UTC ---
I can confirm this behaviour.
The crash happens in:
/usr/lib64/dri/i965_dri.so
which is a symlink to
/usr/lib64/mesa/i965_dri.so
The splitted debugging symbols reside in
/usr/lib/debug/usr/lib64/mesa/i965_dri.so.debug
GDB is only able to create backtraces when copying the debugging symbols to
/usr/lib/debug/usr/lib64/dri/i965_dri.so.debug
I thin the fix is actually rather simple: GDB should simply do a readlink() on
the path of the file which is analyzed before looking for the corresponding
debugging symbols file.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.