public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "vries at gcc dot gnu.org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/30871] [gdb/symtab] Means to control finding debuginfo (without/with sysroot prefix) Date: Tue, 19 Sep 2023 09:49:43 +0000 [thread overview] Message-ID: <bug-30871-4717-e5WsfrsJJl@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-30871-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=30871 --- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> --- Put differently, with this patch applied: ... diff --git a/gdb/build-id.c b/gdb/build-id.c index f68384f0197..1ab9fd8b4c5 100644 --- a/gdb/build-id.c +++ b/gdb/build-id.c @@ -174,6 +174,7 @@ build_id_to_bfd_suffix (size_t build_id_len, const bfd_byte *build_id, if (debug_bfd != NULL) return debug_bfd; +#if 0 /* Try to look under the sysroot as well. If the sysroot is "/the/sysroot", it will give "/the/sysroot/usr/lib/debug/.build-id/ab/cdef.debug". */ @@ -185,6 +186,7 @@ build_id_to_bfd_suffix (size_t build_id_len, const bfd_byte *build_id, if (debug_bfd != NULL) return debug_bfd; } +#endif } return {}; ... no test-case in the test suite starts failing. -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2023-09-19 9:49 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-09-19 8:18 [Bug symtab/30871] New: " vries at gcc dot gnu.org 2023-09-19 9:49 ` vries at gcc dot gnu.org [this message]
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-30871-4717-e5WsfrsJJl@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).