This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Remove unexpected warning when printing empty array
- From: Daniel Jacobowitz <drow at false dot org>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Sun, 9 Oct 2005 16:33:49 -0400
- Subject: Re: [RFA] Remove unexpected warning when printing empty array
- References: <20051005220935.GO1591@adacore.com>
On Wed, Oct 05, 2005 at 03:09:35PM -0700, Joel Brobecker wrote:
> 2005-10-05 Joel Brobecker <brobecker@adacore.com>
>
> * valprint.c (val_print_array_elements): Check array size before
> computing its low bound. If zero, then use a default bound of zero.
>
> Tested on x86-linux, fixes the two FAILs above.
> OK to apply?
OK.
--
Daniel Jacobowitz
CodeSourcery, LLC