This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [commit/Ada] Fix unconstrained packed array size
> FYI:
> print u_var
> $3 = (warning: unable to get bounds of array, assuming null array
> )
> (gdb) FAIL: gdb.ada/packed_array.exp: print u_var
I was afraid something like that might happen. I am pretty sure
it is another one of these where the compiler is emitting incomplete
debugging info (it works for me). The problem is that our attempts
at improving the compiler are conditional on one patch that just
we just can't get anyone on gcc-patches to review :-(. I'll try
to find the message and ping again.
In the meantime, I still think it's worthwhile for the community
if I add testcases whenever I can. But it's extra work for me
that I then do not use (AdaCore has its own testsuite), so if
it's felt as a nuisance, then let me know, and I will stop.
--
Joel