This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Regression on gdb.ada/null_array.exp [Re: [patch] DW_AT_byte_size for array type entries]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Ken Werner <ken at linux dot vnet dot ibm dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 3 Nov 2010 09:09:35 -1000
- Subject: Regression on gdb.ada/null_array.exp [Re: [patch] DW_AT_byte_size for array type entries]
- References: <201010191323.57251.ken@linux.vnet.ibm.com> <201010192016.05535.ken@linux.vnet.ibm.com> <m3iq0fgxy0.fsf@fleche.redhat.com> <201011031522.50715.ken@linux.vnet.ibm.com>
On Wed, 03 Nov 2010 04:22:50 -1000, Ken Werner wrote:
> Thanks. I've checked in the version below:
> http://sourceware.org/ml/gdb-cvs/2010-11/msg00014.html
This patch has a regression, for:
gcc (GCC) 4.4.6 20101103 (prerelease)
The regression does not happen with:
gcc (GCC) 4.6.0 20101103 (experimental)
gcc (GCC) 4.5.2 20101103 (prerelease)
(gdb) print my_table
-$1 = ()
-(gdb) PASS: gdb.ada/null_array.exp: print my_table
+$1 = (warning: unable to get bounds of array, assuming null array
+)
+(gdb) FAIL: gdb.ada/null_array.exp: print my_table
I cannot say more as I cannot read the GNAT debug info.
Regards,
Jan