From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11472 invoked by alias); 26 Sep 2005 17:35:40 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 11460 invoked by uid 22791); 26 Sep 2005 17:35:37 -0000 Received: from nevyn.them.org (HELO nevyn.them.org) (66.93.172.17) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Mon, 26 Sep 2005 17:35:37 +0000 Received: from drow by nevyn.them.org with local (Exim 4.52) id 1EJwt2-0002CA-P2; Mon, 26 Sep 2005 13:35:32 -0400 Date: Mon, 26 Sep 2005 17:35:00 -0000 From: Daniel Jacobowitz To: Jim Ingham Cc: Joel Brobecker , gdb@sources.redhat.com Subject: Re: How to access files (open/read/close) from gdb script ? Message-ID: <20050926173532.GB8277@nevyn.them.org> Mail-Followup-To: Jim Ingham , Joel Brobecker , gdb@sources.redhat.com References: <6541ed4c050926074274c08518@mail.gmail.com> <6541ed4c05092607445929e846@mail.gmail.com> <1127746273.14120.60.camel@localhost.localdomain> <6541ed4c05092608534877c12@mail.gmail.com> <20050926170314.GP772@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.8i X-SW-Source: 2005-09/txt/msg00199.txt.bz2 On Mon, Sep 26, 2005 at 10:23:10AM -0700, Jim Ingham wrote: > Since ALL the gdb testsuites are written in Tcl (that's what Expect > uses, and that is consequently what dejagnu uses) this seems a > particularly unfortunate place to be airing your prejudices. In fact I find it excessively appropriate; they are some of the worst testsuite codes I've ever had the misfortune to work with and TCL is a big part of the reason why. As the currently most active TCL programmer in the GDB project, I think I've earned the right to agree with Joel. If I had the luxury to redo it I'd do it in Anything But TCL, probably by improving QMTest's support for interactive testing. -- Daniel Jacobowitz CodeSourcery, LLC