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
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 17 Feb 2011 22:58:03 +0100
- Subject: Re: [commit/Ada] Fix unconstrained packed array size
- References: <1297925036-2762-1-git-send-email-brobecker@adacore.com>
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