add-symbol-file parsing

Richard Sharpe rsharpe@richardsharpe.com
Thu Dec 5 17:13:00 GMT 2002


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



More information about the Gdb mailing list