From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 293E53852C53; Thu, 17 Nov 2022 20:04:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 293E53852C53 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668715455; bh=K6edCDohS0c+WKs/gfbiPvCZ4RbtZqe65Esp1i3KDkE=; h=From:To:Subject:Date:In-Reply-To:References:From; b=BFPulEl1YT7+LyKIyYZIp623pL3DbMxSiB/MhKLuvYT+E9SFEDQHBqzSXOENxszv2 cLVMFGGn1GtQJA5N9U54H/NHhd5NYtQShDqwrP0jJHJdwdy5EiOf41cqdsu57W6u11 jx0R/TB5knOgWlydKCIuaX5n+lybXcsz1NdyuJTg= From: "pedro at palves dot net" To: gdb-prs@sourceware.org Subject: [Bug macros/27754] Excessive CPU load and memory usage with -g3 debug info Date: Thu, 17 Nov 2022 20:04:12 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: macros X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: pedro at palves dot net X-Bugzilla-Status: NEW 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D27754 Pedro Alves changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pedro at palves dot net --- Comment #27 from Pedro Alves --- (In reply to Tom Tromey from comment #10) > > My first thought is > > to have it simply skip multiple imports of the same unit. This could > > in theory yield the wrong answer sometimes, though. >=20 > I don't think this is actually true. Did you mean that you no longer think that "this could in theory yield the wrong answer sometimes, though." ? This issue just came up again in a discussion Simon and I were having, and I was also wondering whether we could make GDB skip reimporting the same offs= et. It wouldn't fix the bad macro debug info in the patological case (no worse = than today), but at least it'd get us past the performance degradation. --=20 You are receiving this mail because: You are on the CC list for the bug.=