[commit/Ada] Fix unconstrained packed array size

Jan Kratochvil jan.kratochvil@redhat.com
Thu Feb 17 22:10:00 GMT 2011


On Thu, 17 Feb 2011 07:43:56 +0100, Joel Brobecker wrote:
> This patch fixes the problem by correctly computing the array size
> in bytes in the case of packed arrays.

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

GNU gdb (GDB) 7.2.50.20110217-cvs
FAIL GNAT 4.6.0 20110212 (experimental)
FAIL GNAT 4.5.3 20110124 (prerelease)
FAIL GNAT 4.4.6 20110124 (prerelease)


Thanks,
Jan



More information about the Gdb-patches mailing list