This is the mail archive of the
gdb-cvs@sources.redhat.com
mailing list for the GDB project.
src/gdb ChangeLog ada-lang.c ada-valprint.c
- From: hilfingr at sourceware dot org
- To: gdb-cvs at sources dot redhat dot com
- Date: 1 Jul 2004 10:30:58 -0000
- Subject: src/gdb ChangeLog ada-lang.c ada-valprint.c
CVSROOT: /cvs/src
Module name: src
Changes by: hilfingr@sourceware.org 2004-07-01 10:30:58
Modified files:
gdb : ChangeLog ada-lang.c ada-valprint.c
Log message:
* 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).
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.6070&r2=1.6071
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.45&r2=1.46
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ada-valprint.c.diff?cvsroot=src&r1=1.11&r2=1.12