Make gdb.ada/ptype_tagged_param.exp pass
authorTom Tromey <tromey@adacore.com>
Thu, 19 Jan 2023 16:30:18 +0000 (09:30 -0700)
committerTom Tromey <tromey@adacore.com>
Fri, 20 Jan 2023 17:05:39 +0000 (10:05 -0700)
commit75890dfaf1f8de54271d2e048810c4bfd3edfe95
treebdeb1eac576c386923a79281850754cf35be1371
parentb70bff5ea52550c7cd48af7579a75ac2624ec13d
Make gdb.ada/ptype_tagged_param.exp pass

gdb.ada/ptype_tagged_param.exp is failing for me on x86-64 Fedora 36.
However, it's actually generating the correct output -- it is just
that the test thinks that the "ptype" will not work because I do not
have the GNAT debuginfo installed.

This patch changes the code to accept either result, and then to issue
a kfail as appropriate.
gdb/testsuite/gdb.ada/ptype_tagged_param.exp