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 ...


Daniel Jacobowitz wrote:
That said, I'm not worried about implementing this as much as I am
designing what it "ought" to look like.

For me just:

eval command args... ${something} more args...

where the value of ${something} is blah

causes the following command to be executed

command args... blahh more args...


eval just expands the variable to create the real command to be excuted and calls execute_command() with it.

--
Fernando Nasser
Red Hat Canada Ltd. E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9


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