OSDN Git Service

* ada-lang.c (decode_packed_array): Minor change to comment.
authorhilfingr <hilfingr>
Thu, 1 Jul 2004 10:30:53 +0000 (10:30 +0000)
committerhilfingr <hilfingr>
Thu, 1 Jul 2004 10:30:53 +0000 (10:30 +0000)
commit60d60b3f00c288669371a5b40b2c6c2a01ba4406
treede1d1e631fa1b7ebcffd32060569b1cd721cf738
parent0a24d9ef67fa58698ba2a466bedc5d8e7b535849
* ada-lang.c (decode_packed_array): Minor change to comment.
(ada_value_slice_ptr): New function.
(ada_value_slice): New function.
(ada_evaluate_subexp): Remove XVS-suffix code from subscripting
test.  Don't know why it is there.
Change slice code to use ada_value_slice_ptr and ada_value_slice, and
to avoid dereferencing huge arrays from which one is slicing.
(empty_array): Correct to return an array rather than
a subrange value.
* ada-valprint.c (print_optional_low_bound): Don't print lower bound
on empty arrays (let'em use 'FIRST instead).
gdb/ChangeLog
gdb/ada-lang.c
gdb/ada-valprint.c