From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 8A4C0393BC24; Wed, 28 Apr 2021 18:22:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A4C0393BC24 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug testsuite/27787] New: FAIL: gdb.python/flexible-array-member.exp: python print(zs['items'].type.range()) Date: Wed, 28 Apr 2021 18:22:26 +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: 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: 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2021 18:22:26 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27787 Bug ID: 27787 Summary: FAIL: gdb.python/flexible-array-member.exp: python print(zs['items'].type.range()) Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: testsuite Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- ... FAIL: gdb.python/flexible-array-member.exp: python print(zs['items'].type.range()) FAIL: gdb.python/flexible-array-member.exp: python print(zso['items'].type.range()) ... First in more detail: ... (gdb) FAIL: gdb.python/flexible-array-member.exp: python print(zs['items'].type.range()) python print(zso['items'].type.range())^M (0, 0)^M ... Related test-case portion: ... # Verify the range attribute. It looks a bit inconsistent that the high bo= und=20=20 # is sometimes 0, sometimes -1, but that's what GDB produces today, so that= 's=20=20=20 # what we test.=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 gdb_test "python print(ns\['items'\].type.range())" "\\(0, 0\\)" gdb_test "python print(zs\['items'\].type.range())" "\\(0, -1\\)" gdb_test "python print(zso\['items'\].type.range())" "\\(0, -1\\)" ... --=20 You are receiving this mail because: You are on the CC list for the bug.=