On Wednesday 11 November 2009, Øyvind Harboe wrote:
> > And what happened to that more standard Tcl model I mentioned a
> > while back ... a series of interpreters, with the current target
> > object at the front of the series, and more global stuff back at
> > the end?
> 
> I don't understand this idea. How would you deal with a parallel
> object hierarchy, e.g. interface specific commands vs. target
> specific commands.

Well, "mww" would be for the target, "jtag_khz" would be for
the interface.  The series might be

 current target --> interface --> globals

And the "$target foo" versus $interface foo" could be different,
if there were distinct "foo" commands.




_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to