From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1586 invoked by alias); 8 Mar 2008 20:30:51 -0000 Received: (qmail 1577 invoked by uid 22791); 8 Mar 2008 20:30:50 -0000 X-Spam-Check-By: sourceware.org Received: from NaN.false.org (HELO nan.false.org) (208.75.86.248) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 08 Mar 2008 20:30:31 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 3E17B983A0; Sat, 8 Mar 2008 20:30:29 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id 1506898329; Sat, 8 Mar 2008 20:30:29 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JY5gZ-0006fw-Kb; Sat, 08 Mar 2008 15:30:27 -0500 Date: Sat, 08 Mar 2008 20:30:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: gdb-patches@sources.redhat.com Subject: Re: RFC add "convenience functions" to gdb Message-ID: <20080308203027.GA25644@caradoc.them.org> Mail-Followup-To: Tom Tromey , gdb-patches@sources.redhat.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-12-11) X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2008-03/txt/msg00070.txt.bz2 On Sat, Mar 08, 2008 at 12:31:52PM -0700, Tom Tromey wrote: > I use $"..." to denote a host string. > > After this it would be pretty simple to start allowing scripting > access to all kinds of interesting state: string-valued set/show > variables, the exe name, the names of functions up and down the stack, > types, syscalls (whatever happened to that "catch syscall" patch?) -- > anything we can think of. Hold on a bit; I promised to post my lazy strings patch for Doug and I have so far failed to do so. We can use the normal string syntax, as long as we don't flush them out to the target unless some operation requires it. -- Daniel Jacobowitz CodeSourcery