From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4227 invoked by alias); 24 Apr 2002 22:11:33 -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 4202 invoked from network); 24 Apr 2002 22:11:32 -0000 Received: from unknown (HELO nevyn.them.org) (128.2.145.6) by 209.249.29.67 with SMTP; 24 Apr 2002 22:11:32 -0000 Received: from drow by nevyn.them.org with local (Exim 3.35 #1 (Debian)) id 170Uz2-0007mG-00 for ; Wed, 24 Apr 2002 18:11:28 -0400 Date: Wed, 24 Apr 2002 15:11:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Subject: Re: RFA/testsuite: Fix `array unset' goof Message-ID: <20020424181128.A29798@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com References: <20020415174031.A4930@nevyn.them.org> <3CBC3EE9.FE7C339F@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CBC3EE9.FE7C339F@redhat.com> User-Agent: Mutt/1.3.23i X-SW-Source: 2002-04/txt/msg00979.txt.bz2 On Tue, Apr 16, 2002 at 11:10:33AM -0400, Fernando Nasser wrote: > Daniel Jacobowitz wrote: > > > > I fixed linux-dp.exp to use 'array unset seen' instead of > > 'array set seen {}' (which doesn't do anything if seen already exists). > > Unfortunately, array unset only appeared in Tcl 8.2.3. If you use DejaGNU > > with system expect/tcl, you're likely to get an older version. This uses > > 'array set seen {}' followed by 'unset seen', which should work in any Tcl > > version. > > > > OK? > > > > Please go ahead. Committed, thanks. -- Daniel Jacobowitz Carnegie Mellon University MontaVista Software Debian GNU/Linux Developer