From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id BC29A3858D3C; Wed, 1 Mar 2023 10:57:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BC29A3858D3C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1677668243; bh=EbWD3shxRmxl/jHF6V9uJzgQy1jcwVZdLeIr780DtuQ=; h=From:To:Subject:Date:From; b=y4d2W3pE8jUnYwIAZWRmBddS/VJ9qxjQgcmxtTWgxD/uhRUW7PNMvMuUGfIC9zYXl rpOnp18MSJ2w3WVuUilGyFaY9SQn+FsEjcOqFwUVyxqMGkEalFBFJz/magIIW6Lem/ JOFVouacFj/ic6g4J/fgsZKDlIcSnvg5NvOlRRCs= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/30185] New: FAIL: gdb.python/py-record-btrace.exp: function call: pyth\ on print(c == c.next.prev) Date: Wed, 01 Mar 2023 10:57:23 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: testsuite X-Bugzilla-Version: 12.1 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: 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=3D30185 Bug ID: 30185 Summary: FAIL: gdb.python/py-record-btrace.exp: function call: pyth\ on print(c =3D=3D c.next.prev) Product: gdb Version: 12.1 Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- I ran into: ... (gdb) PASS: gdb.python/py-record-btrace.exp: function call: python print(c.prev) python print(c =3D=3D c.next.prev)^M Traceback (most recent call last):^M File "", line 1, in ^M AttributeError: 'NoneType' object has no attribute 'prev'^M Error while executing Python code.^M (gdb) FAIL: gdb.python/py-record-btrace.exp: function call: python print(c = =3D=3D c.next.prev) ... Setup: - x86_64 (i7-1250U) - gdb 12.1 based package - openSUSE Leap 15.4 - chroot with packages from openSUSE Leap 15.4 - test exec is PIE - libipt 2.0.5 I haven't been able to reproduce it. The first FAIL seems to be just a consequence from the fact that we have ju= st 4 insns instead of 100: ... python print(len(insn))^M 4^M ... --=20 You are receiving this mail because: You are on the CC list for the bug.=