A comment in ada-typeprint.c mentions the Unchecked_Variant pragma.
However, this does not exist, and the comment should actually mention
Unchecked_Union.
gdb/ChangeLog
2020-03-11 Tom Tromey <tromey@adacore.com>
* ada-typeprint.c (print_choices): Fix comment.
+2020-03-11 Tom Tromey <tromey@adacore.com>
+
+ * ada-typeprint.c (print_choices): Fix comment.
+
2020-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
* buildsyms.c (buildsym_compunit::record_line): Avoid accessing
values. Return non-zero if the field is an encoding of
discriminant values, as in a standard variant record, and 0 if the
field is not so encoded (as happens with single-component variants
- in types annotated with pragma Unchecked_Variant). */
+ in types annotated with pragma Unchecked_Union). */
static int
print_choices (struct type *type, int field_num, struct ui_file *stream,