From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3353 invoked by alias); 9 Nov 2007 16:14:56 -0000 Received: (qmail 3054 invoked by uid 22791); 9 Nov 2007 16:14:55 -0000 X-Spam-Check-By: sourceware.org Received: from smtp.gentoo.org (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 09 Nov 2007 16:14:52 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id D35D5652BC; Fri, 9 Nov 2007 16:14:49 +0000 (UTC) From: Mike Frysinger To: Daniel Jacobowitz Subject: Re: misc extended scripting bits Date: Fri, 09 Nov 2007 16:14:00 -0000 User-Agent: KMail/1.9.7 Cc: gdb@sourceware.org References: <200711090443.30594.vapier@gentoo.org> <20071109140656.GC32113@caradoc.them.org> In-Reply-To: <20071109140656.GC32113@caradoc.them.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart44249008.8xYGIPqNFC"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200711091114.47565.vapier@gentoo.org> 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-11/txt/msg00070.txt.bz2 --nextPart44249008.8xYGIPqNFC Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Content-length: 734 On Friday 09 November 2007, Daniel Jacobowitz wrote: > On Fri, Nov 09, 2007 at 05:43:29AM -0400, Mike Frysinger wrote: > > is there a way to do indirection of evaluating statements ? in other > > words, is there an equivalent of the shell "eval" command ? so somethi= ng > > like: > > Nope. Nor any of your other ideas, sorry. > > I remain more interested in scripting language integration than > extending the current CLI. does that mean lang hooks exist or that it is the planned route for future= =20 work ? > For instance, one big hangup with eval is=20 > that we have no real concept of strings. i did notice that anytime i tried to use a string, gdb complained about lac= k=20 of target defining a malloc symbol ... -mike --nextPart44249008.8xYGIPqNFC Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 827 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) iQIVAwUARzSHd0FjO5/oN/WBAQLcgg/8DerRsORTy71kSgKEm0kDdunUJo618ANy Q7z4cOjgrycETZXN9O5Nwtcd+SwjXrwdO0Q4RfZ0KJ+XLdkB9d5A1ZQhMWzUPQxr mwHV9icNVtVEwIXppwmqgrA5XJ7dxa17Sy9M6bIWZ8RIdyF1GeHLcSizRDtEvKiC r9FPsQOxqbCkie7I/00LWoHmtJloJx4lotd6WAvRgzlFuinJ8NsraNdc61BYRhC0 IlBkv2CPi0yz/4iVacLCho0CUNMLIjKy2JjJQddXcF3zSYEakVGJGdCTu37ye6Xo cwK4A7LLg2rRNyKeR9Ai7P/4lnpCkQdzt1uv1GluWU2Cc3ke4jJihOiamkmeoL88 ZaN4OXBtKOp74gyCIsm3nBf2rozJSefvs1+azSlBCkPBMytBRs6Qw/lR3Hfvledz tLJaguuNPdqKW9GWBmxTesfUPXXsOIdOlgT37JHyRGKS46MZPYCRFj02Ufwdnm5K 9KfrAw16CoJadQXb9MmW1ey/7AaWA6NLeJPqpz4JNxFIOY6+BrcaAgSHrriMHY2Y LG/GFpAbXiCjgbuNHEyGcBsXfLICNawpe1Tt0ItEXoOeUjtvssIA+mZVkEGvwebC v+ww+W8hvUPIIpd/nyCyhHH7TMFJIxORRrDtNzPJAdhABWE6sZVHEcSu01YMaz2o 4q1ZPpV9MYc= =Llkq -----END PGP SIGNATURE----- --nextPart44249008.8xYGIPqNFC--