From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 366D5385BF81; Tue, 28 Apr 2020 04:15:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 366D5385BF81 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug ada/25883] New: Fix printing of access Date: Tue, 28 Apr 2020 04:15:30 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: ada 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: Tue, 28 Apr 2020 04:15:30 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25883 Bug ID: 25883 Summary: Fix printing of access Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: ada Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- When running test-case gdb.ada/array_ptr_renaming.exp we run into: ... (gdb) print ntp^M $3 =3D (3 =3D> 30, 40)^M (gdb) KFAIL: gdb.ada/array_ptr_renaming.exp: print ntp (PRMS: gdb/NNNN) ... Test-case gdb.ada/array_ptr_renaming.exp contains: ... # Accesses to arrays and unconstrained arrays have the same runtime=20=20= =20=20=20=20=20=20=20=20=20=20=20 # representation with GNAT (fat pointers). In this case, GDB "forgets" tha= t=20=20=20=20 # it's dealing with an access and prints directly the array contents. This= =20=20=20=20=20 # should be fixed some day.=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 setup_kfail "gdb/NNNN" *-*-* gdb_test "print ntp" " =3D \\(access pack\\.table_type\\) $hex.*" ... I haven't found any PR describing this failure, so I'm opening this one, to= be able to reference from the KFAIL. --=20 You are receiving this mail because: You are on the CC list for the bug.=