diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 17:30:12 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2009-06-29 17:30:12 +0000 |
commit | 7c964f079e2404c667e3e4ffb32a380590c438ab (patch) | |
tree | 7f68c7f861da1ed02480300e7236211278082899 /gdb/ChangeLog | |
parent | 1ce677a4a194224337e88b3b6d365b5dd66714bd (diff) | |
download | gdb-7c964f079e2404c667e3e4ffb32a380590c438ab.zip gdb-7c964f079e2404c667e3e4ffb32a380590c438ab.tar.gz gdb-7c964f079e2404c667e3e4ffb32a380590c438ab.tar.bz2 |
* ada-valprint.c (ada_print_scalar): Accept NULL type argument
to indicate scalar should be printed as default integer.
(print_optional_low_bound): Pass NULL to ada_print_scalar to
indicate default integer output.
* ada-typeprint.c (print_range, print_range_bound): Likewise.
(print_choices): Likewise. Thus, accept NULL as val_type.
* ada-lang.c (ada_variant_discrim_type): Return NULL when failed
to look up controlling discriminant name.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 33bb6eb..274d85b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2009-06-29 Ulrich Weigand <uweigand@de.ibm.com> + * ada-valprint.c (ada_print_scalar): Accept NULL type argument + to indicate scalar should be printed as default integer. + (print_optional_low_bound): Pass NULL to ada_print_scalar to + indicate default integer output. + * ada-typeprint.c (print_range, print_range_bound): Likewise. + (print_choices): Likewise. Thus, accept NULL as val_type. + * ada-lang.c (ada_variant_discrim_type): Return NULL when failed + to look up controlling discriminant name. + +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. |