OSDN Git Service

* ada-lang.c (decode_packed_array): If the value is a pointer to
authorJoel Brobecker <brobecker@gnat.com>
Tue, 23 Jun 2009 16:43:24 +0000 (16:43 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Tue, 23 Jun 2009 16:43:24 +0000 (16:43 +0000)
commit0551023487cca8d8bcd3033294b694e6ce9cc9da
tree19ba1033e0debd4f1bb725a0cf36a0b254057b5f
parenteb70fe721320efe6f1b2064378239dd6b9ce80d2
    * 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.
gdb/ChangeLog
gdb/ada-lang.c