public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at sourceware dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/29188] gdb too slow and hogs memory for debug binary generated with gcc 11.2 Date: Tue, 25 Oct 2022 16:16:23 +0000 [thread overview] Message-ID: <bug-29188-4717-bKupGhVskl@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-29188-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=29188 Tom Tromey <tromey at sourceware dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |DUPLICATE --- Comment #12 from Tom Tromey <tromey at sourceware dot org> --- (In reply to gusain from comment #11) > With gold, I have 0 occurrences but binary is no good because when I bring > it up in gdb, source information seems to be incorrect. When I put a > breakpoint in my code, gdb tells me that it's in some libstdc++ file. This sounds like a different problem, which we'd have to investigate separately. > Do you still think it's not gdb bug ? If not, whose bug is it ? I think the mold author put in a workaround for this issue. While pedantically it may be a gcc bug, in practice the fixes are in the linker. > Are you aware of any workaround (gold link doesn't work for me and I have > other issues with it as I mentioned before) ? GNU ld should work, or an updated mold. I'm unsure about lld. > Do you think it's gold linker bug and I should file a ticket for it ? Is > there information I can get which can shed more light on this gold-linked > binary issue ? I'm afraid I don't know the answer here. Since I think this particular bug is another instance of the macro-import problem, I'm closing it as a dup. *** This bug has been marked as a duplicate of bug 27754 *** -- You are receiving this mail because: You are on the CC list for the bug.
prev parent reply other threads:[~2022-10-25 16:16 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-05-26 17:30 [Bug gdb/29188] New: " rajpal.gusain at gmail dot com 2022-05-26 18:06 ` [Bug gdb/29188] " simark at simark dot ca 2022-05-26 18:24 ` rajpal.gusain at gmail dot com 2022-05-26 18:41 ` simark at simark dot ca 2022-05-27 10:52 ` rajpal.gusain at gmail dot com 2022-05-27 12:50 ` simark at simark dot ca 2022-05-27 12:57 ` tromey at sourceware dot org 2022-05-27 13:43 ` simark at simark dot ca 2022-05-27 15:11 ` rajpal.gusain at gmail dot com 2022-06-03 20:31 ` rajpal.gusain at gmail dot com 2022-06-04 16:12 ` tromey at sourceware dot org 2022-06-04 17:46 ` rajpal.gusain at gmail dot com 2022-10-25 16:16 ` tromey at sourceware dot 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-29188-4717-bKupGhVskl@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).