public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "dje at google dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/15652] New: full symlink resolution prevents gdb from finding fission dwp files Date: Wed, 19 Jun 2013 20:25:00 -0000 [thread overview] Message-ID: <bug-15652-4717@http.sourceware.org/bugzilla/> (raw) 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.
next reply other threads:[~2013-06-19 20:25 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-06-19 20:25 dje at google dot com [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15652-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).