From e7a82140af00e632f06e27d0ec9ad1f4fb704d92 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 11 Mar 2020 08:29:51 -0600 Subject: Fix comment in ada-typeprint.c 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 * ada-typeprint.c (print_choices): Fix comment. --- gdb/ada-typeprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/ada-typeprint.c') diff --git a/gdb/ada-typeprint.c b/gdb/ada-typeprint.c index db4634c0f3b..9f0ac259a16 100644 --- a/gdb/ada-typeprint.c +++ b/gdb/ada-typeprint.c @@ -456,7 +456,7 @@ print_array_type (struct type *type, struct ui_file *stream, int show, 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, -- cgit v1.2.1