]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/ada-lang.c
* ada-lang.c (decode_packed_array): Minor change to comment.
authorPaul N. Hilfinger <hilfinger@adacore.com>
Thu, 1 Jul 2004 10:30:57 +0000 (10:30 +0000)
committerPaul N. Hilfinger <hilfinger@adacore.com>
Thu, 1 Jul 2004 10:30:57 +0000 (10:30 +0000)
commit0b5d8877912034b2af0c548afbb794e4dcd07fbd
treee619934dc3c806b54c401a041e5dc5d6ab8b96d0
parent19c1ef65d7309fbce692396866d54e7ede61e7dd
* 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