[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  <tdevries@suse.de>

	* gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
This commit is contained in:
Tom de Vries
2020-04-28 06:22:36 +02:00
parent 15cd93d05e
commit 5390c71738
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2020-04-28 Tom de Vries <tdevries@suse.de>
* gdb.ada/array_ptr_renaming.exp: Add PR number in KFAIL.
2020-04-28 Tom de Vries <tdevries@suse.de> 2020-04-28 Tom de Vries <tdevries@suse.de>
* gdb.dwarf2/main-foo.c: New test. * gdb.dwarf2/main-foo.c: New test.

View File

@ -33,7 +33,7 @@ gdb_test "print nt(1)" " = 10"
# representation with GNAT (fat pointers). In this case, GDB "forgets" that # representation with GNAT (fat pointers). In this case, GDB "forgets" that
# it's dealing with an access and prints directly the array contents. This # it's dealing with an access and prints directly the array contents. This
# should be fixed some day. # 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" " = \\(access pack\\.table_type\\) $hex.*"
gdb_test "print ntp.all" " = \\(3 => 30, 40\\)" gdb_test "print ntp.all" " = \\(3 => 30, 40\\)"
gdb_test "print ntp(3)" " = 30" gdb_test "print ntp(3)" " = 30"