This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Processing of convenience variables for scripts ...


Fernando writes:
 >>Daniel Jacobowitz wrote:
 >>
 >> In that case, in the short term, it would be worthwhile to implement
 >> eval.  A simple version would just find any individual word that
 >> started with a $ and substitute variables, and end up with something
 >> like "eval add-symbol-file $name $addr".
 >
 > Seems useful to me, and probably not difficult to implement.

add-symbol-file takes a file name as the first argument and
you can't store strings (of any kind) in convenience variables.

I haven't checked FSF sources in the last few months,
maybe things have improved.  If so great.  If not, how would this work?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]