On Fri, Jul 29, 2011 at 12:10 AM, Steve Bennett <ste...@workware.net.au> wrote: > 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. > Thank you!
I have another question about script command. I will ask in a separate thread. Jie _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development