From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7757 invoked by alias); 9 Jan 2007 21:55:42 -0000 Received: (qmail 7746 invoked by uid 22791); 9 Jan 2007 21:55:41 -0000 X-Spam-Check-By: sourceware.org Received: from ug-out-1314.google.com (HELO ug-out-1314.google.com) (66.249.92.172) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 09 Jan 2007 21:55:37 +0000 Received: by ug-out-1314.google.com with SMTP id 75so8881596ugb for ; Tue, 09 Jan 2007 13:55:34 -0800 (PST) Received: by 10.82.116.15 with SMTP id o15mr1968118buc.1168379734454; Tue, 09 Jan 2007 13:55:34 -0800 (PST) Received: by 10.82.191.16 with HTTP; Tue, 9 Jan 2007 13:55:34 -0800 (PST) Message-ID: Date: Tue, 09 Jan 2007 21:55:00 -0000 From: "Kip Macy" To: "Nick Roberts" Subject: Re: GDB and scripting languages - which Cc: "Paul Koning" , bob_rossi@cox.net, jimb@codesourcery.com, gdb@sourceware.org In-Reply-To: <17828.3474.603062.717814@kahikatea.snap.net.nz> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070108222005.GA27451@nevyn.them.org> <20070109202343.GD9844@cox.net> <17828.2852.359000.383405@gargle.gargle.HOWL> <17828.3474.603062.717814@kahikatea.snap.net.nz> Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2007-01/txt/msg00157.txt.bz2 On 1/9/07, Nick Roberts wrote: > > I would think it's good to stay away from TCL. I won't say more > > because I don't want to start a language war. Python can certainly be > > scripted, and it has good support for testsuite type things. > > TCL is what Totalview uses for it's CLI; it's quite adequate for basic > programming. How complex will these scripts be? Generally .gdbinit is > just a series of small functions. My intent when I added perl support to GDB (not my choice, its what the company I was working at prefers), was to automate some fairly complex triage. My personal experience with tcl would lead me to believe that tcl is underpowered. Although with tcl it would be possible, whereas with gdb's macro language it really isn't. I think gdb's current macro support is more than adequate for .gdbinit. -Kip -Kip