aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.ada
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2009-03-12 23:41:16 +0000
committerJoel Brobecker <brobecker@gnat.com>2009-03-12 23:41:16 +0000
commit0056e4d5746a88326596e433a09c13f14db3381b (patch)
tree5b334b0a627aed1b673327c60dbd1fad43268f8b /gdb/testsuite/gdb.ada
parent8a38181c39557b71cb2b0cc0b3ea7e965cb806ae (diff)
downloadgdb-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 'gdb/testsuite/gdb.ada')
0 files changed, 0 insertions, 0 deletions