This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA/testsuite: Fix `array unset' goof


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]