This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression for gdb.ada/arrayidx.exp [Re: pushed: [commit/Ada] Ignore __XA types when redundant.]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 19 Nov 2014 19:18:52 +0100
- Subject: Regression for gdb.ada/arrayidx.exp [Re: pushed: [commit/Ada] Ignore __XA types when redundant.]
- Authentication-results: sourceware.org; auth=none
- References: <1415983452-26484-1-git-send-email-brobecker at adacore dot com> <20141119084842 dot GN5774 at adacore dot com>
On Wed, 19 Nov 2014 09:48:42 +0100, Joel Brobecker wrote:
> > gdb/ChangeLog:
> >
> > * ada-lang.c (ada_is_redundant_range_encoding): New function.
> > (ada_is_redundant_index_type_desc): New function.
> > (to_fixed_array_type): Ignore parallel XA type if redundant.
> >
> > gdb/testsuite/ChangeLog:
> >
> > * gdb.ada/arr_arr: New testcase.
>
> Pushed!
With gcc-gnat-4.9.2-1.fc21.x86_64 I see
-PASS: gdb.ada/arrayidx.exp: print r_two_three, indexes off
+FAIL: gdb.ada/arrayidx.exp: print r_two_three, indexes off
-PASS: gdb.ada/arrayidx.exp: print r_two_three
+FAIL: gdb.ada/arrayidx.exp: print r_two_three
8908fca5772fcff9f7766158ba2aa59f5a2b1f68 is the first bad commit
commit 8908fca5772fcff9f7766158ba2aa59f5a2b1f68
Author: Joel Brobecker <brobecker@adacore.com>
Date: Sat Sep 27 09:09:34 2014 -0700
[Ada] Ignore __XA types when redundant.
Jan