This is the mail archive of the gdb-patches@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: RFC: gdb_test_multiple


> { } quoting in TCL completely disables expansion.  Variables inside a
> "proc name { args } { vars $here } are not expanded until the procedure
> is called; similarly for the {} construct above.

Ah.  Gotcha.  I am thinking like #define, when I really need to think
like gnu make's "=" and ":=" (and sit down with the TCL book and really
learn the silly language).

> And that idiom is all over the testsuite, for readability
> purposes; see $hex, etc.

In fact I'm planning to use more of that idiom to incrementally build
up -re strings that for those troublesome ptype tests.

So I have to acquiesce to you -- whatever syntax you can get to work.

Michael C


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