[gdb/testsuite] Add KFAILs for gdb.ada FAILs with gcc-11
authorTom de Vries <tdevries@suse.de>
Wed, 21 Jul 2021 12:22:16 +0000 (14:22 +0200)
committerTom de Vries <tdevries@suse.de>
Wed, 21 Jul 2021 12:22:16 +0000 (14:22 +0200)
commitf26101b199482bd13b5f9c45fb4f43a4eb8b16e6
treeac6376c2bfc537d6c8f38bd2c2091aedf6b877db
parent647c0a29f26796b73efdec7960bbba2b3e4be4f9
[gdb/testsuite] Add KFAILs for gdb.ada FAILs with gcc-11

With gcc-11 we run into:
...
(gdb) print pa_ptr.all^M
That operation is not available on integers of more than 8 bytes.^M
(gdb) KFAIL: gdb.ada/arrayptr.exp: scenario=all: print pa_ptr.all (PRMS: gdb/20991)
...

This is due to PR exp/20991 - "__int128 type support".  Mark this and similar
FAILs as KFAIL.

Also mark this FAIL:
....
(gdb) print pa_ptr(3)^M
cannot subscript or call something of type `foo__packed_array_ptr'^M
(gdb) FAIL: gdb.ada/arrayptr.exp: scenario=minimal: print pa_ptr(3)
...
as a KFAIL for PR ada/28115 - "Support packed array encoded as
DW_TAG_subrange_type".

Tested on x86_64-linux, with gcc-10 and gcc-11.

gdb/testsuite/ChangeLog:

2021-07-21  Tom de Vries  <tdevries@suse.de>

* gdb.ada/arrayptr.exp: Add KFAILs for PR20991 and PR28115.
* gdb.ada/exprs.exp: Add KFAILs for PR20991.
* gdb.ada/packed_array_assign.exp: Same.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.ada/arrayptr.exp
gdb/testsuite/gdb.ada/exprs.exp
gdb/testsuite/gdb.ada/packed_array_assign.exp
This page took 0.040612 seconds and 4 git commands to generate.