aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorJerome Guitton <guitton@adacore.com>2015-03-26 16:19:27 +0100
committerJoel Brobecker <brobecker@adacore.com>2015-05-15 14:00:57 -0700
commit931e5bc3e19d1e279fc28c5cf5571f812c79b8d3 (patch)
tree48194de8ebbed604f308183f4207630d7f2ebe4b /gdb/ChangeLog
parentfd8008d83ce379a8d3f3bb9c3b1a723e16c401d4 (diff)
downloadgdb-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/ChangeLog')
-rw-r--r--gdb/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b7694c7..c1dc2d0 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,10 @@
+2015-05-15 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.
+
2015-05-15 Pedro Alves <palves@redhat.com>
Simon Marchi <simon.marchi@ericsson.com>