summaryrefslogtreecommitdiffstats
path: root/gdb/ChangeLog
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/ChangeLog
parent8a38181c39557b71cb2b0cc0b3ea7e965cb806ae (diff)
downloadppe42-binutils-0056e4d5746a88326596e433a09c13f14db3381b.tar.gz
ppe42-binutils-0056e4d5746a88326596e433a09c13f14db3381b.zip
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/ChangeLog')
-rw-r--r--gdb/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 11058531d9..7ddb7d19cc 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,16 @@
2009-03-12 Joel Brobecker <brobecker@adacore.com>
+ 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.
+
+2009-03-12 Joel Brobecker <brobecker@adacore.com>
+
Fix segfault when printing short_integer'last.
* ada-lang.c (ada_find_any_type): Search in the primitive types
OpenPOWER on IntegriCloud