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] |
Richard Sharpe wrote:> On Fri, 6 Dec 2002, Fernando Nasser wrote:
Why we would want that? Are you thinking of any specific example where this could be useful?Daniel Jacobowitz wrote:For me just:That said, I'm not worried about implementing this as much as I am designing what it "ought" to look like.
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.
This sounds like a simple short-term solution while we wait on a more general method where all commands can take expressions of any type :-)
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |