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 gdb/9538] gdb creates debuginfo path incorrectly for symlinkedfiles


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.


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