From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id F0BE6385B525; Wed, 29 Nov 2023 12:27:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F0BE6385B525 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1701260831; bh=3m1LvFqrGQfl/N1Zag8i+rZiFOM4ae92P80D179LoM0=; h=From:To:Subject:Date:From; b=D7riOZMhR0vp4jpimJLOWdDgK0qyucJwks6/VC9z8+FWawrKwGm1UtK9pRE1uvyQf tHHh4kFbrKrrw8ZLt1INMu7F0pRr5Eyd2ukpgAcdbeEPTab6iOwuM11IWVXV/3eTEK fA0Y45wn0S6hXDrJ7tCSRS+PXdKGkdh3LdIfgKio= From: "thomas at mitterfellner dot at" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/31095] New: Setting a breakpoint in a C++ header file takes a long time Date: Wed, 29 Nov 2023 12:27:11 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: thomas at mitterfellner dot at 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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=3D31095 Bug ID: 31095 Summary: Setting a breakpoint in a C++ header file takes a long time Product: gdb Version: 13.1 Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: thomas at mitterfellner dot at Target Milestone: --- I noticed that setting a breakpoint in a C++ header file (e.g. for a method that only performs member initialization) using gdb 13.2 takes quite a long time (>30 s). The project I experienced this in has ~800 cpp and ~1000 hpp files. Setting a breakpoint in a cpp file, on the other hand, is performed with no noticable delay. --=20 You are receiving this mail because: You are on the CC list for the bug.=