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/30797] [gdb/symtab, cc-with-dwz] FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 1 Date: Tue, 29 Aug 2023 10:10:31 +0000 [thread overview] Message-ID: <bug-30797-4717-sYWI4EortO@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-30797-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=30797 --- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> --- Tentative patch: ... diff --git a/gdb/symtab.c b/gdb/symtab.c index 0117a2a59d7..cfad7716cd8 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -565,6 +565,9 @@ iterate_over_some_symtabs (const char *name, for (cust = first; cust != NULL && cust != after_last; cust = cust->next) { + if (cust->user != nullptr) + continue; + for (symtab *s : cust->filetabs ()) { if (compare_filenames_for_search (s->filename, name)) ... -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-08-29 10:10 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-08-25 13:46 [Bug symtab/30797] New: " vries at gcc dot gnu.org 2023-08-29 9:27 ` [Bug symtab/30797] " vries at gcc dot gnu.org 2023-08-29 9:30 ` vries at gcc dot gnu.org 2023-08-29 10:10 ` vries at gcc dot gnu.org [this message] 2023-08-29 11:02 ` vries at gcc dot gnu.org 2023-08-29 11:50 ` vries at gcc dot gnu.org 2023-08-31 10:38 ` vries at gcc dot gnu.org 2023-09-06 8:15 ` cvs-commit at gcc dot gnu.org 2023-09-07 21:27 ` vries at gcc dot gnu.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-30797-4717-sYWI4EortO@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).