public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* gdb/2433: gdb creates debuginfo path incorrectly for symlinked files
@ 2008-03-24 18:58 schommer
  0 siblings, 0 replies; only message in thread
From: schommer @ 2008-03-24 18:58 UTC (permalink / raw)
  To: gdb-gnats; +Cc: ppjsand, jecarey


>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:


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-03-24 18:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-24 18:58 gdb/2433: gdb creates debuginfo path incorrectly for symlinked files schommer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).