diff options
author | Joel Brobecker <brobecker@gnat.com> | 2009-03-12 23:41:16 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2009-03-12 23:41:16 +0000 |
commit | 0056e4d5746a88326596e433a09c13f14db3381b (patch) | |
tree | 5b334b0a627aed1b673327c60dbd1fad43268f8b /bfd | |
parent | 8a38181c39557b71cb2b0cc0b3ea7e965cb806ae (diff) | |
download | gdb-0056e4d5746a88326596e433a09c13f14db3381b.zip gdb-0056e4d5746a88326596e433a09c13f14db3381b.tar.gz gdb-0056e4d5746a88326596e433a09c13f14db3381b.tar.bz2 |
Fix crash printing packed record with packed array.
* ada-lang.c (ada_modulus_from_name): New function.
(ada_modulus): In the case where the type length is bigger than
the size of the type used to hold the bounds, try determining
the modulus from the type name.
(ada_value_primitive_packed_val): Fix bug in the computation of
ntarg causing an out-of-buffer invalid access.
Diffstat (limited to 'bfd')
0 files changed, 0 insertions, 0 deletions