[RFA/dwarf2] Fix PR/2018 - set array type names

Daniel Jacobowitz drow@false.org
Fri Oct 6 19:28:00 GMT 2006


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



More information about the Gdb-patches mailing list