From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26735 invoked by alias); 9 Oct 2005 20:33:53 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 26723 invoked by uid 22791); 9 Oct 2005 20:33:51 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Sun, 09 Oct 2005 20:33:51 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EOhrh-00028K-Hw; Sun, 09 Oct 2005 16:33:49 -0400 Date: Sun, 09 Oct 2005 20:33:00 -0000 From: Daniel Jacobowitz To: Joel Brobecker Cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] Remove unexpected warning when printing empty array Message-ID: <20051009203349.GH7107@nevyn.them.org> Mail-Followup-To: Joel Brobecker , gdb-patches@sources.redhat.com References: <20051005220935.GO1591@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051005220935.GO1591@adacore.com> User-Agent: Mutt/1.5.8i X-SW-Source: 2005-10/txt/msg00084.txt.bz2 On Wed, Oct 05, 2005 at 03:09:35PM -0700, Joel Brobecker wrote: > 2005-10-05 Joel Brobecker > > * 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