From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16728 invoked by alias); 3 Dec 2002 07:49:37 -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 16721 invoked from network); 3 Dec 2002 07:49:36 -0000 Received: from unknown (HELO birch.ripe.net) (193.0.1.96) by sources.redhat.com with SMTP; 3 Dec 2002 07:49:36 -0000 Received: from laptop.6bone.nl (cow.ripe.net [193.0.1.239]) by birch.ripe.net (8.12.5/8.11.6) with SMTP id gB37nZ8V027950 for ; Tue, 3 Dec 2002 08:49:35 +0100 Received: (nullmailer pid 672 invoked by uid 1000); Tue, 03 Dec 2002 06:44:42 -0000 Date: Mon, 02 Dec 2002 23:49:00 -0000 From: Mark Santcroos To: gdb@sources.redhat.com Subject: Re: add-symbol-file parsing Message-ID: <20021203064442.GB598@laptop.6bone.nl> References: <20021129105448.GF598@laptop.6bone.nl> <20021203052939.GA22983@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021203052939.GA22983@nevyn.them.org> User-Agent: Mutt/1.4i X-Handles: MS6-6BONE, MS18417-RIPE X-SW-Source: 2002-12/txt/msg00043.txt.bz2 Hi Daniel, On Tue, Dec 03, 2002 at 12:29:39AM -0500, Daniel Jacobowitz wrote: > The problem is, add-symbol-file takes more than a $text_addr. It also > takes a series of -s SECNAME $sec_addr. We could: > > - split the command line at -s options and parse anything before the > next -s option as an expression, assuming people will not foolishly > use -s in their expression; > - allow only convenience variables > > Option 2 may be the way to go... What do others think about allowing > integer-or-convenience-variable there? Option 2 would at least enable us to do everything. In the worst case you would have to add another line to your macro that does the expression-to-convinience-variable-translation. Please let me know if you don't have time and would prefer me to tackle this. Thanks Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM