diff options
author | Hannes Domani <ssbssa@yahoo.de> | 2020-05-01 14:01:02 +0200 |
---|---|---|
committer | Hannes Domani <ssbssa@yahoo.de> | 2020-05-01 15:32:17 +0200 |
commit | 8dbb13755bd15eea33df1dec1c6171f745d9f501 (patch) | |
tree | 55374ea4b75fb81efac2bb4a05bac36ff1c27549 /binutils/windint.h | |
parent | 53ae0aa9c65bc41b6f67f52a657b9f5339a331be (diff) | |
download | gdb-8dbb13755bd15eea33df1dec1c6171f745d9f501.zip gdb-8dbb13755bd15eea33df1dec1c6171f745d9f501.tar.gz gdb-8dbb13755bd15eea33df1dec1c6171f745d9f501.tar.bz2 |
Fix size recalculation of fortran arrays
My recent change regarding size calculation of arrays of stubbed types
didn't take array strides and associated/allocated type properties into
account, which basically broke fortran arrays.
Fixed by refactoring the array size calculation of
create_array_type_with_stride into a new function, and also use it for
the stubbed array size recalculation.
gdb/ChangeLog:
2020-05-01 Hannes Domani <ssbssa@yahoo.de>
* gdbtypes.c (update_static_array_size): New function.
(create_array_type_with_stride): Use update_static_array_size.
(check_typedef): Likewise.
Diffstat (limited to 'binutils/windint.h')
0 files changed, 0 insertions, 0 deletions