public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/15652] New: full symlink resolution prevents gdb from finding fission dwp files
@ 2013-06-19 20:25 dje at google dot com
  2013-06-19 20:25 ` [Bug symtab/15652] " dje at google dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dje at google dot com @ 2013-06-19 20:25 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=15652

            Bug ID: 15652
           Summary: full symlink resolution prevents gdb from finding
                    fission dwp files
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: dje at google dot com

GDB expects to be able to find a binary's dwp file in the same directory as the
binary.  [gdb will also search debug-file-directory, but it first looks in the
same directory as the binary] But if the binary is actually a symlink to a file
in a different directory than the dwp file, then things break.

Fission ref: http://gcc.gnu.org/wiki/DebugFission

Repro:
1) build binary + binary.dwp
2) mkdir foo
3) ln -s ../binary foo/binary
4) mv binary.dwp foo
5) gdb foo/binary
-->
gdb can't find binary.dwp

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-11-23 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-19 20:25 [Bug symtab/15652] New: full symlink resolution prevents gdb from finding fission dwp files dje at google dot com
2013-06-19 20:25 ` [Bug symtab/15652] " dje at google dot com
2022-04-05 18:33 ` tromey at sourceware dot org
2023-11-23 17:23 ` sam at gentoo dot org

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).