From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0D7473858D35; Sun, 6 Aug 2023 18:15:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0D7473858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691345715; bh=F4mRSKsRIPc4rHsW7LlON1LSmZoeMYBCu7IeDOQAF2o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iMaEoesKaP9bN2k4DkNQ6WV6BqAM9EJK60hw2f40OIIqyebqNIflweKy++tJTJ7HT q7ZWakAFZXsckNizanPfK9f7kb7BqyivQ8aixG/z72rjC+7cijpvxehCC0eFaE9Dr5 k4KQ2jNjH77UGtkOHJ9lXKSJozKuUBgJaTk0YVy8= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30728] [gdb/symtab, cc-with-dwz] FAIL: gdb.cp/breakpoint-locs.exp: break N1::C1::baz Date: Sun, 06 Aug 2023 18:15:14 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org 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: attachments.created 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=3D30728 --- Comment #3 from Tom de Vries --- Created attachment 15044 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D15044&action=3Ded= it breakpoint-locs.gz (stripped with --keep-only-debug) Reproducer: ... $ gdb -q -batch -iex "maint set worker-threads 0" ./breakpoint-locs -ex "br= eak N1::C1::baz" Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. ... With the set worker-thread 0, reproduces 100%: ... $ for n in $(seq 1 10); do ./gdb.sh -q -batch -iex "maint set worker-thread= s 0" ./breakpoint-locs -ex "break N1::C1::baz"; done Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. ... Without, it doesn't: ... $ for n in $(seq 1 10); do ./gdb.sh -q -batch ./breakpoint-locs -ex "break N1::C1::baz"; done Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: N1::C1::baz. (2 locations) Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: N1::C1::baz. (2 locations) Breakpoint 1 at 0x4004db: N1::C1::baz. (2 locations) Breakpoint 1 at 0x4004db: N1::C1::baz. (2 locations) Breakpoint 1 at 0x4004db: file /data/vries/gdb/src/gdb/testsuite/gdb.cp/breakpoint-locs.h, line 23. Breakpoint 1 at 0x4004db: N1::C1::baz. (2 locations) Breakpoint 1 at 0x4004db: N1::C1::baz. (2 locations) ... --=20 You are receiving this mail because: You are on the CC list for the bug.=