From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D0E6A3858D38; Mon, 2 Jan 2023 09:14:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D0E6A3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1672650886; bh=YcdA5b9SmHXAwtxZ0bn2ojz14k0KBqX10T/+0QOmJxM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=yMrBBU7dIb1Vl2COwSSh2Qy59B2WjUgHJTtpj05orBXgSIUcXMI57JotNshiJcBHy 4DbsvNU0ucnU+2ziENR+hozpMc5WlJcutnrcvJ+nrmZryx8c7NqBQ3MFwO2s7Llx5j Euia0rq2/4W6nDdWv2MIWJBqILjdIqG9QObfYTC0= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/29910] [gdb/testsuite] FAIL: gdb.python/py-breakpoint.exp: test_hardware_breakpoints: Set hardware breakpoint Date: Mon, 02 Jan 2023 09:14:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite 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=3D29910 --- Comment #1 from Tom de Vries --- Using -qualified fixes it: ... diff --git a/gdb/testsuite/gdb.python/py-breakpoint.exp b/gdb/testsuite/gdb.python/py-break point.exp index 397e4b31309..4065413056a 100644 --- a/gdb/testsuite/gdb.python/py-breakpoint.exp +++ b/gdb/testsuite/gdb.python/py-breakpoint.exp @@ -271,7 +271,7 @@ proc_with_prefix test_hardware_breakpoints { } { delete_breakpoints - gdb_test "python hbp1 =3D gdb.Breakpoint(\"add\", type=3Dgdb.BP_HARDWARE_BREAKPOINT)" \ + gdb_test "python hbp1 =3D gdb.Breakpoint(\"add\", type=3Dgdb.BP_HARDWARE_BREAKPOINT , qualified=3DTrue)" \ ".*Hardware assisted breakpoint ($decimal)+ at .*$srcfile, line ($decimal)+\." \ "Set hardware breakpoint" gdb_test "python print (gdb.breakpoints()\[0\].type =3D=3D gdb.BP_HARDWARE_BREAKPOINT)" \ ... --=20 You are receiving this mail because: You are on the CC list for the bug.=