This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: should be fixed: 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: Thu, 20 Nov 2014 10:57:21 +0100
- Subject: Re: should be fixed: 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> <20141119181852 dot GA439 at host2 dot jankratochvil dot net> <20141120041010 dot GQ5774 at adacore dot com> <20141120064518 dot GA29026 at host2 dot jankratochvil dot net> <20141120094656 dot GS5774 at adacore dot com>
On Thu, 20 Nov 2014 10:46:56 +0100, Joel Brobecker wrote:
> Thanks. This allowed me to understand the source of the problem,
> and to push a fix (attached).
>
> gdb/ChangeLog:
>
> * ada-lang.c (ada_is_redundant_range_encoding): Return 0
> if the TYPE_CODE of range_type's base type does not match
> the TYPE_CODE of encoding_type's base type.
Confirming 005e2509a167c05719df3a3edd966865110a5052 PASSes now on F-21.x86_64.
Thanks,
Jan