[ChangeLog commit] [PATCH] Allow 64-bit enum values

Jan Kratochvil
2012-04-18T07:01:49Z

On Wed, 18 Apr 2012 08:56:27 +0200, Jan Kratochvil wrote:
> it included unrelated comment fix

Oops, it already went with this patch, I cannot undone it now, sorry, the part
was:

-/* The largest value in the domain of TYPE, a discrete type, as an integer. */
+/* The smallest value in the domain of TYPE, a discrete type, as an integer. */
LONGEST
ada_discrete_type_low_bound (struct type *type)

So at least fixed up ChangeLog.

Regards,
Jan

http://sourceware.org/ml/gdb-cvs/2012-04/msg00129.html

--- src/gdb/ChangeLog 2012/04/18 06:52:25 1.14124
+++ src/gdb/ChangeLog 2012/04/18 07:00:24 1.14125
@@ -27,8 +27,8 @@
PR symtab/7259:
* ada-exp.y (convert_char_literal): Use TYPE_FIELD_ENUMVAL.
* ada-lang.c (ada_discrete_type_high_bound)
- (ada_discrete_type_low_bound): Use TYPE_FIELD_ENUMVAL for
- TYPE_CODE_ENUM.
+ (ada_discrete_type_low_bound): Fix function comment. Use
+ TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
(ada_identical_enum_types_p): Use TYPE_FIELD_ENUMVAL.
(pos_atr, value_val_atr): Use TYPE_FIELD_ENUMVAL for TYPE_CODE_ENUM.
* ada-typeprint.c (print_enum_type): Change variable lastval to LONGEST.