diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-07-15 16:05:24 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2020-07-15 16:12:17 +0100 |
commit | fe07b5721a64a84e36ec63e15638b87655faf1bf (patch) | |
tree | 5b8b63f3b57a35835c4a4edbf5b574b92445e5f8 /binutils/rclex.c | |
parent | 04c662e2b66bedd050f97adec19afe0fcfce9ea7 (diff) | |
download | gdb-fe07b5721a64a84e36ec63e15638b87655faf1bf.zip gdb-fe07b5721a64a84e36ec63e15638b87655faf1bf.tar.gz gdb-fe07b5721a64a84e36ec63e15638b87655faf1bf.tar.bz2 |
gdb/testsuite: Update test pattern in ptype-on-functions.exp
It was pointed out that the recently added test
gdb.fortran/ptype-on-functions.exp fails on older versions of
gfortran. This is because the ABI for passing string lengths changed
from a 4-byte to 8-byte value (on some targets).
This change is documented here:
https://gcc.gnu.org/gcc-8/changes.html.
Character variables longer than HUGE(0) elements are now possible on
64-bit targets. Note that this changes the procedure call ABI for
all procedures with character arguments on 64-bit targets, as the
type of the hidden character length argument has changed. The hidden
character length argument is now of type INTEGER(C_SIZE_T).
This commit just relaxes the pattern to accept any size of integer for
the string length argument.
gdb/testsuite/ChangeLog:
* gdb.fortran/ptype-on-functions.exp: Make the result pattern more
generic.
Diffstat (limited to 'binutils/rclex.c')
0 files changed, 0 insertions, 0 deletions