diff options
author | Jerome Guitton <guitton@adacore.com> | 2015-03-26 16:19:27 +0100 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2015-05-15 14:00:57 -0700 |
commit | 931e5bc3e19d1e279fc28c5cf5571f812c79b8d3 (patch) | |
tree | 48194de8ebbed604f308183f4207630d7f2ebe4b /gdb/xml-support.c | |
parent | fd8008d83ce379a8d3f3bb9c3b1a723e16c401d4 (diff) | |
download | gdb-931e5bc3e19d1e279fc28c5cf5571f812c79b8d3.zip gdb-931e5bc3e19d1e279fc28c5cf5571f812c79b8d3.tar.gz gdb-931e5bc3e19d1e279fc28c5cf5571f812c79b8d3.tar.bz2 |
Non bit-packed packed arrays as variable-length fields
In the case of non bit-packed arrays, GNAT does not generate its
traditional XP encoding; it is not needed. However, it still generates
the so-called "implementation type" with a P suffix. This
implementation type shall be skipped when looking for other
descriptive types such as XA encodings for variable-length
fields.
Note also that there may be an intermediate typedef between the
implementation type and its XA description. It shall be skipped
as well.
gdb/ChangeLog:
Jerome Guitton <guitton@adacore.com>
* ada-lang.c (find_parallel_type_by_descriptive_type):
Go through typedefs during lookup.
(to_fixed_array_type): Add support for non-bit packed arrays
as variable-length fields.
gdb/testsuite/ChangeLog:
* gdb.ada/byte_packed_arr: New testcase.
Diffstat (limited to 'gdb/xml-support.c')
0 files changed, 0 insertions, 0 deletions