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]

gdb/2433: gdb creates debuginfo path incorrectly for symlinked files


>Number:         2433
>Category:       gdb
>Synopsis:       gdb creates debuginfo path incorrectly for symlinked files
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 24 18:58:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pete Schommer
>Release:        unknown-1.0
>Organization:
>Environment:

>Description:
I have a debug info RPM that installs under /usr/lib/debug

The file is: /opt/cell/sdk/prototype/usr/lib64/dacs/debug/libdacs_hybrid.so.3.1

it install such that the /opt/cell is symlinked to /vnfs/optdev_DRV_20080319/opt/cell

When gdb tries to construct file names for each of the debug info file searches below, it assumes the base name of the shared lib to be:  
/vnfs/optdev_DRV_20080319/opt/cell/sdk/prototype/usr/lib64/dacs/debug/libdacs_hybrid.so.3.1.debug

so when it tries to search in /usr/lib/debug  for the shared lib it looks for:
/usr/lib/debug/vnfs/optdev_DRV_20080319/opt/cell/sdk/prototype/usr/lib64/dacs/debug/libdacs_hybrid.so.3.1.debug
which of course it can't find.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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