From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 67056385417E; Fri, 21 Oct 2022 17:12:12 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 67056385417E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666372332; bh=U8Dukq6DiUzAJ8iaXMUWCsjQFvpdozFBD6Nsd+rfqhY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=SNqVomIqdJ0LDuOd63MDOHnuTZsNmVTzPPI+0I9wi1tpHDq4SloL6Ez7WQ+d89oNv D+xMdpzK7tBA5DCPXMT90X8BFKpfg5R/vlWnP9/e8psWZ37n8S2DUXT/CUyQsgbTZU K0KOmKx0y7ePK8pz9p6cz1m71IeYJE2tvmmjQY+w= From: "simark at simark dot ca" To: gdb-prs@sourceware.org Subject: [Bug gdb/29702] Huge slowdown just after loading thread DWARF data when hitting breakpoints (gdb in MCUXpresso / Eclipse) Date: Fri, 21 Oct 2022 17:12:06 +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: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal 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 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29702 Simon Marchi changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simark at simark dot ca --- Comment #2 from Simon Marchi --- To make the problem easier to investigate, you can try to manually trigger = the expansion of symtabs using the "maintenance expand-symtabs" command. You d= on't need to be connected to your target to do this. For instance (running gdb = on gdb): (top-gdb) with debug timestamp 1 -- with debug dwarf-read 1 -- maintenance expand-symtabs finish 1110674.433796 [dwarf-read] process_queue: Expanding one or more symtabs of objfile /home/simark/build/binutils-gdb/gdb/gdb ... 1110674.433821 [dwarf-read] process_queue: Expanding symtab of CU at offset 0x47aa3b3 1110674.489215 [dwarf-read] process_queue: Done expanding CU at offset 0x47aa3b3 1110674.489236 [dwarf-read] process_queue: Done expanding symtabs of /home/simark/build/binutils-gdb/gdb/gdb. If you can reproduce the delay this way, it will be much easier to investig= ate. --=20 You are receiving this mail because: You are on the CC list for the bug.=