This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb ChangeLog ada-lang.c ada-typeprint.c
- From: uweigand at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 29 Jun 2009 17:29:00 -0000
- Subject: src/gdb ChangeLog ada-lang.c ada-typeprint.c
CVSROOT: /cvs/src
Module name: src
Changes by: uweigand@sourceware.org 2009-06-29 17:29:00
Modified files:
gdb : ChangeLog ada-lang.c ada-typeprint.c
Log message:
* ada-lang.c (to_fixed_range_type): Add ORIG_TYPE argument.
Fall back to orig_type as index type if symbol lookup fails.
Allocate result types from ORIG_TYPE's objfile.
(ada_array_bound_from_type, to_fixed_array_type,
ada_evaluate_subexp): Pass original index type to
to_fixed_range_type. Do not pass objfile.
* ada-typeprint.c (print_range_type_named): Add ORIG_TYPE argument.
Fall back to orig_type as index type if symbol lookup fails.
(print_array_type, ada_print_type): Pass original index type
to print_range_type_named.
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.10650&r2=1.10651
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ada-lang.c.diff?cvsroot=src&r1=1.218&r2=1.219
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/ada-typeprint.c.diff?cvsroot=src&r1=1.26&r2=1.27