This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[ChangeLog commit] [PATCH] Allow 64-bit enum values
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Siddhesh Poyarekar <siddhesh at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 18 Apr 2012 09:01:09 +0200
- Subject: [ChangeLog commit] [PATCH] Allow 64-bit enum values
- References: <20120301224428.GA30631@host2.jankratochvil.net> <20120305063542.GA30196@spoyarek.pnq.redhat.com> <20120305080512.GA12311@host2.jankratochvil.net> <20120321100630.GA14496@spoyarek.pnq.redhat.com> <20120327165950.GA1734@host2.jankratochvil.net> <20120328095037.254b22ed@spoyarek> <20120330161521.GA19069@host2.jankratochvil.net> <20120417135819.GA28916@host2.jankratochvil.net> <20120418080720.240a03c5@spoyarek> <20120418065627.GA31851@host2.jankratochvil.net>
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.