On 29/07/2011, at 2:06 PM, Steve Bennett wrote: > On 29/07/2011, at 1:40 PM, Jie Zhang wrote: > >> Hi, >> >> Where is the "script" command defined? I greped in jimtcl and openocd >> source code, but could not find it. Thank you! >> >> Jie > > src/helper/startup.tcl line 57
And here's a trick for you. If you want to know when any Tcl procedure is defined, you can run a command like: info source [info body script] This will show where the proc 'script' is defined. Won't work for built-in commands, since there is no corresponding source location. Cheers, Steve -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development