diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 17:28:59 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 17:28:59 +0000 |
commit | 1ce677a4a194224337e88b3b6d365b5dd66714bd (patch) | |
tree | 2c9686264a3f96bb2f7613db99bc57c4312c14a1 /gdb/ChangeLog | |
parent | dd19d49e4bda8bf973f8e178f19e6d643298876f (diff) | |
download | gdb-1ce677a4a194224337e88b3b6d365b5dd66714bd.zip gdb-1ce677a4a194224337e88b3b6d365b5dd66714bd.tar.gz gdb-1ce677a4a194224337e88b3b6d365b5dd66714bd.tar.bz2 |
* ada-lang.c (to_fixed_range_type): Add ORIG_TYPE argument.
Fall back to orig_type as index type if symbol lookup fails.
Allocate result types from ORIG_TYPE's objfile.
(ada_array_bound_from_type, to_fixed_array_type,
ada_evaluate_subexp): Pass original index type to
to_fixed_range_type. Do not pass objfile.
* ada-typeprint.c (print_range_type_named): Add ORIG_TYPE argument.
Fall back to orig_type as index type if symbol lookup fails.
(print_array_type, ada_print_type): Pass original index type
to print_range_type_named.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ed95354..33bb6eb 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,19 @@ 2009-06-29 Ulrich Weigand <uweigand@de.ibm.com> + * ada-lang.c (to_fixed_range_type): Add ORIG_TYPE argument. + Fall back to orig_type as index type if symbol lookup fails. + Allocate result types from ORIG_TYPE's objfile. + (ada_array_bound_from_type, to_fixed_array_type, + ada_evaluate_subexp): Pass original index type to + to_fixed_range_type. Do not pass objfile. + + * ada-typeprint.c (print_range_type_named): Add ORIG_TYPE argument. + Fall back to orig_type as index type if symbol lookup fails. + (print_array_type, ada_print_type): Pass original index type + to print_range_type_named. + +2009-06-29 Ulrich Weigand <uweigand@de.ibm.com> + * ada-lang.c (ada_index_type): Update comment. 2009-06-29 Ulrich Weigand <uweigand@de.ibm.com> |