On Mon, Jul 7, 2008 at 3:41 PM, Spen <[EMAIL PROTECTED]> wrote: >> >> a .cfg file is OpenOCD command which can execute single line >> tcl commands(backwards compatible) >> >> If you name your file .tcl then, it will be a tcl file that >> can invoke OpenOCD commands. See target/at91eb40a.cfg/tcl for >> an example. >> >> > > I think we are at crossed wires. > My patch does not effect this behaviour in any way - i have tested it.
Please do not commit this patch. It breaks the capability to add target Tcl proc's without introducing extra files(which gets messy). This is used in target/at91eb40a.tcl (just an example). > All it does is remove the target_invoke_script as it adds no benefit - just > confusion. target_invoke_script() allows adding Tcl target event proc's without introducing extra files. Please explain a bit more what you find confusing. I'd like to a) avoid confusion b) have the tcl target proc capability. I'm convinced that we have have it both ways here. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
