From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32145 invoked by alias); 26 Mar 2008 18:25:29 -0000 Received: (qmail 32133 invoked by uid 22791); 26 Mar 2008 18:25:28 -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; Wed, 26 Mar 2008 18:25:08 +0000 Received: from nan.false.org (localhost [127.0.0.1]) by nan.false.org (Postfix) with ESMTP id 7C2ED983A1; Wed, 26 Mar 2008 18:25:06 +0000 (GMT) Received: from caradoc.them.org (22.svnf5.xdsl.nauticom.net [209.195.183.55]) by nan.false.org (Postfix) with ESMTP id F026D98140; Wed, 26 Mar 2008 18:25:05 +0000 (GMT) Received: from drow by caradoc.them.org with local (Exim 4.69) (envelope-from ) id 1JeaJ7-0000oF-8w; Wed, 26 Mar 2008 14:25:05 -0400 Date: Wed, 26 Mar 2008 18:41:00 -0000 From: Daniel Jacobowitz To: Tom Tromey Cc: Doug Evans , Thiago Jung Bauermann , gdb ml Subject: Re: repo to work on python scripting support Message-ID: <20080326182505.GA2816@caradoc.them.org> Mail-Followup-To: Tom Tromey , Doug Evans , Thiago Jung Bauermann , gdb ml References: <1205538908.6643.138.camel@localhost.localdomain> <1206369478.29533.15.camel@localhost.localdomain> <20080326180455.GA22644@caradoc.them.org> 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-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: 2008-03/txt/msg00246.txt.bz2 On Wed, Mar 26, 2008 at 11:16:37AM -0600, Tom Tromey wrote: > Are you concerned about the parsing problem for C-defined functions? > We could push the parsing-style declarations down to the C level to > solve that. No, I'm concerned about what the C-defined functions would include or call to interpret the details. I don't want them including any of GDB's normal headers. > Daniel> print $(py "this is a python \"program\"") > > I was thinking some functions could ask for an uninterpreted string. > > print $(py do something in python) But what if there's quotes in there? Or parentheses, or both? -- Daniel Jacobowitz CodeSourcery