This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] dynamic sized packed array in variant record
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 23 Jun 2009 09:46:31 -0700
- Subject: Re: [commit/Ada] dynamic sized packed array in variant record
- References: <20090520184537.GC29638@adacore.com>
> 2009-05-20 Joel Brobecker <brobecker@adacore.com>
>
> * ada-lang.c (decode_packed_array): If the value is a pointer to
> an array, then use value_ind to dereference it, not ada_value_ind.
> (ada_template_to_fixed_record_type_1): Handle the case where a
> dynamic field is an aligner type.
> (to_fixed_array_type): Add handling for packed array types.
> (ada_get_base_type): Do not follow the XVS type if the type is
> an aligner type.
> (ada_evaluate_subexp): Split a few statements up for clarity
> and debuggability.
> <OP_FUNCALL>: Add handling of the case of a packed array that
> has already been fixed.
>
> 2009-05-20 Joel Brobecker <brobecker@adacore.com>
>
> * gdb.ada/variant_record_packed_array: New testcase.
This patch is now checked in as well...
--
Joel