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: arrayidx.exp failures


> 2006-10-06  Joel Brobecker  <brobecker@adacore.com>
> 
> 	* gdb.ada/arrayidx.exp: Remove calls to setup_kfail now that
> 	the corresponding bug has been fixed in GDB (PR/2018).
> 
> They still fail for me with:
> 
> GNU gdb 6.5.50.20061013-cvs
> This GDB was configured as "i686-pc-linux-gnu".
> 
> I can't see any mention of PR/2018 in gdb/ChangeLog.  Has this fix actually
> been committed?

Yes: 

2006-10-06 Joel Brobecker  <brobecker@adacore.com>

        * dwarf2read.c (read_array_type): Set the type name if the name
        attribute is present.

I will add a mention of the PR in the changelog, that's a good remark.

In terms of why it fails for you, it is probably because of something
else. I will guess that you are missing some parts of the encodings
necessary to complete the decoding of the array. The encoding is
documented in ada/exp_dbug.ads of GCC. So I'm guessing a malfunction
of GCC rather than a possible bug in GDB.

We're pushing all the changes we made for 41 in that department as fast
as we can so that everyone can enjoy the most of Ada. But long term,
we'll be moving towards pure dwarf data.

-- 
Joel


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