From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11765 invoked by alias); 26 Aug 2004 22:16:53 -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 11730 invoked from network); 26 Aug 2004 22:16:51 -0000 Received: from unknown (HELO maynard.mail.mindspring.net) (207.69.200.243) by sourceware.org with SMTP; 26 Aug 2004 22:16:51 -0000 Received: from user-119a90a.biz.mindspring.com ([66.149.36.10] helo=berman.michael-chastain.com) by maynard.mail.mindspring.net with esmtp (Exim 3.33 #1) id 1C0SXz-0006o2-00; Thu, 26 Aug 2004 18:16:43 -0400 Received: from mindspring.com (localhost [127.0.0.1]) by berman.michael-chastain.com (Postfix) with SMTP id 1C4984B102; Thu, 26 Aug 2004 18:16:43 -0400 (EDT) Date: Thu, 26 Aug 2004 22:16:00 -0000 From: Michael Chastain To: keiths@redhat.com Subject: Re: GDB/MI Output Syntax Cc: gdb@sources.redhat.com, bob@brasko.net Message-ID: <412E614B.nail37R11P2QM@mindspring.com> References: <20040825154348.GA19533@white> <412CB6B6.nail1DX11BPYQ@mindspring.com> <20040825193659.GA19945@white> <412DED43.nail3XH31S08T@mindspring.com> <20040826183134.GA20902@white> <412E4B96.nailMU21D4LDE@mindspring.com> <1093553755.2764.0.camel@lindt.uglyboxes.com> In-Reply-To: <1093553755.2764.0.camel@lindt.uglyboxes.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/msg00405.txt.bz2 Keith Seitz wrote: > I've got three letters (okay, words) for you: TEA. > > Interfacing Tcl and C is TRIVIAL. > > Keith I left out a part: it's nontrivial for TCL code that's running in a TCL interpreter that's already linked into 'expect', a program that we did not build, to interface with a C library. lib/gdb.exp can load the TEA sample shared object without error, but the new commands are not available. ERROR: (DejaGnu) proc "sha -string hello" does not exist. When I run the same 'expect' binary standalone interactively, it can load the TEA sample library and the new commands are available. Go figure. All the parts are there, but we're not currently using them and they fail the smoke test. Multiply by a dozen hosts and that's what I call nontrivial.