This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: add-symbol-file parsing
- From: Mark Santcroos <marks at ripe dot net>
- To: gdb at sources dot redhat dot com
- Date: Tue, 3 Dec 2002 07:44:42 +0100
- Subject: Re: add-symbol-file parsing
- References: <20021129105448.GF598@laptop.6bone.nl> <20021203052939.GA22983@nevyn.them.org>
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