diff options
author | Tom Tromey <tromey@adacore.com> | 2019-04-29 09:55:39 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-05-01 08:09:22 -0600 |
commit | 4504bbdec57c77b6468838276e62b2137eedfdd5 (patch) | |
tree | eabe799da4aabe549b571f5601c2d74b92940d79 /gas/ChangeLog-2010 | |
parent | d48e62f4a263a871b7a62793e8000625735bc2f6 (diff) | |
download | gdb-4504bbdec57c77b6468838276e62b2137eedfdd5.zip gdb-4504bbdec57c77b6468838276e62b2137eedfdd5.tar.gz gdb-4504bbdec57c77b6468838276e62b2137eedfdd5.tar.bz2 |
Fix bug in assignment to nested packed structure
A user at AdaCore found a case where assignment to a nested packed
structure would fail. The bug is that ada_value_primitive_field
doesn't account for the situation where a field is not packed relative
to its containing structure, but where the structure itself is packed
in its parent.
gdb/ChangeLog
2019-05-01 Tom Tromey <tromey@adacore.com>
* ada-lang.c (ada_value_primitive_field): Treat more fields as
bitfields.
gdb/testsuite/ChangeLog
2019-05-01 Tom Tromey <tromey@adacore.com>
* gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
record.
(NPR): New variable.
* gdb.ada/packed_array_assign.exp: Add nested packed assignment
test.
Diffstat (limited to 'gas/ChangeLog-2010')
0 files changed, 0 insertions, 0 deletions