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
* [Bug symtab/15652] full symlink resolution prevents gdb from finding fission dwp files 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 ` 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 2 siblings, 0 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 dje at google dot com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ccoutant at google dot com -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/15652] full symlink resolution prevents gdb from finding fission dwp files 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 2 siblings, 0 replies; 4+ messages in thread From: tromey at sourceware dot org @ 2022-04-05 18:33 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=15652 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED CC| |tromey at sourceware dot org --- Comment #1 from Tom Tromey <tromey at sourceware dot org> --- This works for me: Reading symbols from ./Subdir/a... (gdb) maint info bfd Refcount Address Filename 2 0x2fa4b10 /tmp/QQ/Subdir/a.dwp 2 0x2f7ac70 /tmp/QQ/./Subdir/a I suspect it was fixed in bug #15415. *** This bug has been marked as a duplicate of bug 15415 *** -- You are receiving this mail because: You are on the CC list for the bug. ^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/15652] full symlink resolution prevents gdb from finding fission dwp files 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 2 siblings, 0 replies; 4+ messages in thread From: sam at gentoo dot org @ 2023-11-23 17:23 UTC (permalink / raw) To: gdb-prs https://sourceware.org/bugzilla/show_bug.cgi?id=15652 Sam James <sam at gentoo dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |sam at gentoo dot org -- 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).