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 symtab/15652] New: full symlink resolution prevents gdb from finding fission dwp files


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.


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