This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/dwarf2] Fix PR/2018 - set array type names
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Fri, 6 Oct 2006 15:27:58 -0400
- Subject: Re: [RFA/dwarf2] Fix PR/2018 - set array type names
- References: <20061006192303.GA1095@adacore.com>
On Fri, Oct 06, 2006 at 12:23:03PM -0700, Joel Brobecker wrote:
> http://www.sourceware.org/ml/gdb-patches/2005-10/msg00086.html
I don't think I looked at this the first time you sent it. The hack is
disgusting, but that's a problem for another day. I think the comment
in GCC is simply incorrect for DWARF-2, and the array should have the
correct range type.
> 2006-10-06 Joel Brobecker <brobecker@adacore.com>
>
> * dwarf2read.c (read_array_type): Set the type name if the name
> attribute is present.
>
> Tested on x86-linux, fixes the 4 KFAILs of gdb.ada/arrayidx.exp, no
> regression. OK to commit?
OK.
--
Daniel Jacobowitz
CodeSourcery