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 01:39:04PM -0700, Joel Brobecker wrote:
> > 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.
> 
> I am not sure which hack you refer to; if you're talking about
> the encoding we're using, I also agree that it's not very elegant.
> It's a artifact that comes from old times when dwarf2 wasn't available
> (and still isn't always available on certain targets). However, we
> *are* at AdaCore working on producing more standard dwarf, so eventually
> the array index should have the correct type. We've made some progress
> in that direction already, but it will take a LOT of work to complete.

Good.  Glad to know I understood what it was doing correctly :-)

-- 
Daniel Jacobowitz
CodeSourcery


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