This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: add-symbol-file parsing
- From: Richard Sharpe <rsharpe at richardsharpe dot com>
- To: Fernando Nasser <fnasser at redhat dot com>
- Cc: Mark Santcroos <marks at ripe dot net>, <gdb at sources dot redhat dot com>
- Date: Thu, 5 Dec 2002 17:39:28 -0800 (PST)
- Subject: Re: add-symbol-file parsing
On Thu, 5 Dec 2002, Fernando Nasser wrote:
> We have been talking of an eval command in another thread that would also solve
> this problem.
>
> eval add-symbol-file /dir/symbol.file $text_addr
>
> would cause
>
> add-symbol-file /dir/symbol.file 0xdeadc0de
>
> to be executed.
The problem I saw was that it seemed that all of the routines that dealt
with evaluating variables were tuned to the printf command and writing
them to the output descriptor ... :-)
Regards
-----
Richard Sharpe, rsharpe[at]ns.aus.com, rsharpe[at]samba.org,
sharpe[at]ethereal.com, http://www.richardsharpe.com