diff options
author | Tom de Vries <tdevries@suse.de> | 2022-06-10 08:59:05 +0200 |
---|---|---|
committer | Tom de Vries <tdevries@suse.de> | 2022-06-10 08:59:05 +0200 |
commit | 6a72edd8e26c670bbdce7aeae3c0c8f793fc8612 (patch) | |
tree | 344f3dddc853a99bed6d77339678f7673c7e48c7 /gdb/testsuite/lib/gdb-python.exp | |
parent | 84860e85919f7f09328ae1f84303435ff2e6ee64 (diff) | |
download | gdb-6a72edd8e26c670bbdce7aeae3c0c8f793fc8612.zip gdb-6a72edd8e26c670bbdce7aeae3c0c8f793fc8612.tar.gz gdb-6a72edd8e26c670bbdce7aeae3c0c8f793fc8612.tar.bz2 |
[gdb/testsuite] Fix XPASS with gcc-12 in gdb.base/vla-struct-fields.exp
With gcc-12, I get for test-case gdb.base/vla-struct-fields.exp:
...
(gdb) print inner_vla_struct_object_size == sizeof(inner_vla_struct_object)^M
$7 = 1^M
(gdb) XPASS: gdb.base/vla-struct-fields.exp: size of inner_vla_struct_object
...
Fix this by limiting the xfailing to gcc-11 and earlier. Also, limit the
xfailing to the equality test.
Tested on x86_64-linux.
Diffstat (limited to 'gdb/testsuite/lib/gdb-python.exp')
0 files changed, 0 insertions, 0 deletions