From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8343 invoked by alias); 27 Aug 2004 19:12:34 -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 8330 invoked from network); 27 Aug 2004 19:12:33 -0000 Received: from unknown (HELO hall.mail.mindspring.net) (207.69.200.60) by sourceware.org with SMTP; 27 Aug 2004 19:12:33 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by hall.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1C0m9G-000398-00; Fri, 27 Aug 2004 15:12:30 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 1042D4B102; Fri, 27 Aug 2004 15:12:36 -0400 (EDT) Date: Fri, 27 Aug 2004 19:12:00 -0000 From: Michael Chastain To: jingham@apple.com, gdb@sources.redhat.com Subject: Re: GDB/MI Output Syntax Message-ID: <412F87A4.nail3LU117EOV@mindspring.com> References: <1093622671.2836.ezmlm@sources.redhat.com> <76E69B58-F852-11D8-8E70-000A958F4C44@apple.com> In-Reply-To: <76E69B58-F852-11D8-8E70-000A958F4C44@apple.com> User-Agent: nail 10.8 6/28/04 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2004-08/txt/msg00420.txt.bz2 Jim Ingham wrote: > The problem is that the sample extension actually adds a command called > "sha1". In interactive mode, tcl resolves shortened commands to the > full name if the resolution is unique. *bonk* *bonk* *bonk* That's the sound of me banging my head against the wall. Stupid me! > I actually think that building Bob's parser into a Tcl C extension & > using that with the DejaGnu testsuite would be brilliant. New vistas are opening up to me! It would be much better to use TCL data structures to parse MI rather than regular expressions. I had a great experience getting away from regular expressions with cp_test_ptype_class. It's still a dozen host arches (actually, a dozen build arches, TCL runs on build machine). But we're not debugging a target program with shared libraries, we're just using one as a host.