From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A2D523857025; Thu, 26 May 2022 18:06:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A2D523857025 From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/29188] gdb too slow and hogs memory for debug binary generated with gcc 11.2 Date: Thu, 26 May 2022 18:06:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 11.2 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: simark at simark dot ca X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2022 18:06:55 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29188 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simark at simark dot ca --- Comment #1 from Simon Marchi --- By the looks of you backtraces (GDB stuck in processing macro information),= I am guessing that it's the same as: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27754 If you run "readelf --debug-dump=3Dmacro" on your binary, do you get a ton = of DW_MACRO_import - offset : 0x0 ? If so it's a problem in the compiler or linker. It has apparently been fixed (you can follow the paper trail on that bug), but I don't really understand the details on that side. --=20 You are receiving this mail because: You are on the CC list for the bug.=