From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BA5023858025; Fri, 16 Feb 2024 15:41:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BA5023858025 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1708098079; bh=zIaCKANHoSfrq2Sdd8o65ZtFYvcx1sZWDR1Mp87Meho=; h=From:To:Subject:Date:From; b=QRxzq/m8UsMdixIRfZumr2cbjhsxC9fbrbDqtyR5yGGs4mXIaxRUdxlSDUJXoy2CP Sjsqzm7INUsRIAx4qXDk5nGvPFaqElMcYhmbivyzvp25R+8PkYBDVoG2ks1T3X4xhO VHp772W6/tAyPNV7Mz1cDwsMmeRvDlkdV1ZmbrHk= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug python/31391] New: Incorrect FinishBreakpoint test Date: Fri, 16 Feb 2024 15:41:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: python X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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: 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=3D31391 Bug ID: 31391 Summary: Incorrect FinishBreakpoint test Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: python Assignee: unassigned at sourceware dot org Reporter: tromey at sourceware dot org Target Milestone: --- py-finishbreakpoint.exp does this: gdb_test "python print (finishbp_default.hit_count)" "1.*" "check finis= hBP on default frame has been hit" It is trying to check the hit count of this breakpoint. However, the actual output is: python print (finishbp_default.hit_count) Traceback (most recent call last): File "", line 1, in RuntimeError: Breakpoint 3 is invalid. Error while executing Python code. ... which matches by mistake. This came up in a patch series I'm working on. I plan to kfail this but not close this bug; I think this probably is a real problem of some sort. --=20 You are receiving this mail because: You are on the CC list for the bug.=