This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: arrayidx.exp failures
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Nick Roberts <nickrob at snap dot net dot nz>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Thu, 12 Oct 2006 19:38:39 -0700
- Subject: Re: arrayidx.exp failures
- References: <17710.63085.830960.73093@kahikatea.snap.net.nz>
> 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