This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]