aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorPaul N. Hilfinger <hilfinger@adacore.com>2010-10-04 06:37:54 +0000
committerPaul N. Hilfinger <hilfinger@adacore.com>2010-10-04 06:37:54 +0000
commit83e3a93c83891799c35d89a0de89c2d2b8bb556a (patch)
tree3bbd0bf508c279e8fb0ee29d45a147e60bfc7bd4 /gdb/ChangeLog
parent73589123891e1c5ae9ee9c6e359a2a37133200de (diff)
downloadgdb-83e3a93c83891799c35d89a0de89c2d2b8bb556a.zip
gdb-83e3a93c83891799c35d89a0de89c2d2b8bb556a.tar.gz
gdb-83e3a93c83891799c35d89a0de89c2d2b8bb556a.tar.bz2
Have ptype handle types declared pragma Unchecked_Variants.
When a type is marked with pragma Unchecked_Variants, ptype did not print variants having a single component, since the compiler produces incorrect debugging output for such cases. With this patch, we special-case these components so that they print. Changelog: * gdb/ada-typeprint.c (print_selected_record_field_types): New function, incorporating and generalizing print_record_field_types. (print_record_field_types): Change return value and update comment. Re-implement using print_selected_record_field_types. (print_choices): Print "=>" here. Handle case of unencoded variant branch. (print_variant_clauses): Reformat comment. Special-case unencoded variant branch.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog13
1 files changed, 12 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7a385fb..61bdd5f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,4 +1,15 @@
-2010-10-03 Paul Hilfinger <hilfingr@syracuse.mckusick.com>
+2010-10-03 Paul Hilfinger <hilfinger@adacore.com>
+
+ * gdb/ada-typeprint.c (print_selected_record_field_types): New function,
+ incorporating and generalizing print_record_field_types.
+ (print_record_field_types): Change return value and update comment.
+ Re-implement using print_selected_record_field_types.
+ (print_choices): Print "=>" here.
+ Handle case of unencoded variant branch.
+ (print_variant_clauses): Reformat comment.
+ Special-case unencoded variant branch.
+
+2010-10-03 Paul Hilfinger <hilfinger@adacore.com>
* ada-lang.c (wild_match): Reimplement.
Change API to eliminate unused length argument, reverse arguments and