From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 76B7F3858D20; Tue, 29 Aug 2023 09:30:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76B7F3858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693301409; bh=G60IaONC+j9wiWFEMhVl97dCZ9w7h8LMhoE0VZFDlr4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ujR3AmIQE3arNx931MoO4q+m7/nI0hFWf5nPih8Ni8hFq0DVmzMD/DSqk1r7EA4BT Bku0v7ho7Brnd/Bq4TJhy7xGhhMFCHyK0xiPPXgb9pbS0r4W+Q8eLUQPxTF9T63eKL S2uzmcLLEkR5ktlij+iVYA31iI6kVGJ/5mYaU1pw= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30797] [gdb/symtab, cc-with-dwz] FAIL: gdb.base/setshow.exp: test_setshow_annotate: annotation_level 1 Date: Tue, 29 Aug 2023 09:30:08 +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: 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=3D30797 --- Comment #2 from Tom de Vries --- (In reply to Tom de Vries from comment #1) > So there's the problem of repetition. Aha. And that's also reason for the missing line: ... /* If this is the only line, show the source code. If it could=20= =20=20=20=20=20=20=20 not find the file, don't do anything special. */ if (annotation_level > 0 && sals.size () =3D=3D 1) annotate_source_line (sal.symtab, sal.line, 0, start_pc); ... --=20 You are receiving this mail because: You are on the CC list for the bug.=