From: Tom de Vries Date: Tue, 28 Apr 2020 04:22:36 +0000 (+0200) Subject: [gdb/testsuite] Add PR number in KFAIL in gdb.ada/array_ptr_renaming.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5390c717386160683b436e35befd9dc7893065e5;p=binutils-gdb.git [gdb/testsuite] Add PR number in KFAIL in gdb.ada/array_ptr_renaming.exp When running test-case gdb.ada/array_ptr_renaming.exp we run into: ... (gdb) print ntp^M $3 = (3 => 30, 40)^M (gdb) KFAIL: gdb.ada/array_ptr_renaming.exp: print ntp (PRMS: gdb/NNNN) ... I've opened PR25883 for this failure. Reference the PR from the KFAIL, such that we have: ... KFAIL: gdb.ada/array_ptr_renaming.exp: print ntp (PRMS: gdb/25883) ... gdb/testsuite/ChangeLog: 2020-04-28 Tom de Vries * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 2fef7c587ee..2972e273992 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2020-04-28 Tom de Vries + + * gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL. + 2020-04-28 Tom de Vries * gdb.dwarf2/main-foo.c: New test. diff --git a/gdb/testsuite/gdb.ada/array_ptr_renaming.exp b/gdb/testsuite/gdb.ada/array_ptr_renaming.exp index 8dd10426af2..e568b60b1e4 100644 --- a/gdb/testsuite/gdb.ada/array_ptr_renaming.exp +++ b/gdb/testsuite/gdb.ada/array_ptr_renaming.exp @@ -33,7 +33,7 @@ gdb_test "print nt(1)" " = 10" # representation with GNAT (fat pointers). In this case, GDB "forgets" that # it's dealing with an access and prints directly the array contents. This # should be fixed some day. -setup_kfail "gdb/NNNN" *-*-* +setup_kfail "gdb/25883" *-*-* gdb_test "print ntp" " = \\(access pack\\.table_type\\) $hex.*" gdb_test "print ntp.all" " = \\(3 => 30, 40\\)" gdb_test "print ntp(3)" " = 30"