aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/py-block.c
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2025-10-14 18:00:48 +0200
committerTom de Vries <tdevries@suse.de>2025-10-14 18:00:48 +0200
commit9b38e80ce8835076e276267e2266774bfb410ee4 (patch)
treef493ac246d3c0b175da0479122060f01478061ff /gdb/python/py-block.c
parent93f536d813c41527e8c939a5f8a90a4b37a5abab (diff)
downloadbinutils-9b38e80ce8835076e276267e2266774bfb410ee4.zip
binutils-9b38e80ce8835076e276267e2266774bfb410ee4.tar.gz
binutils-9b38e80ce8835076e276267e2266774bfb410ee4.tar.bz2
[gdb/testsuite] Fix xfail in gdb.ada/variant_record_field.exp
On ppc64-linux (debian 14) I run into: ... (gdb) print p_record^M $1 = (kind => five, i => <error reading variable: \ access outside bounds of object>^M (gdb) gdb_do_cache: get_compiler_info_1 ( c ) get_compiler_info: gcc-15-2-0 gdb_do_cache: get_compiler_info_1 ( c ) FAIL: gdb.ada/variant_record_field.exp: print p_record ... The test-case contains an xfail for "[gcc_major_version] <= 14", which doesn't trigger because gcc has version 15.2.0, while gnatmake does have version 14.3.0: ... $ gcc --version gcc (Debian 15.2.0-4) 15.2.0 ... $ gnatmake --version GNATMAKE 14.3.0 ... Fix this by using "[gnat_version_compare < 15]" instead. Tested on ppc64-linux and x86_64-linux. Approved-By: Tom Tromey <tom@tromey.com>
Diffstat (limited to 'gdb/python/py-block.c')
0 files changed, 0 insertions, 0 deletions