[RFA] Remove unexpected warning when printing empty array

Daniel Jacobowitz drow@false.org
Sun Oct 9 20:33:00 GMT 2005


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



More information about the Gdb-patches mailing list