Peter Stuge wrote:
> > C:\work\openocd\binary\bin>openocd.exe -f board//ek-lm3s1968.cfg
> > Open On-Chip Debugger 0.6.0-dev-snapshot (2011-10-21-21:26)
> > Licensed under GNU GPL v2
> > For bug reports, read
> >         http://openocd.sourceforge.net/doc/doxygen/bugs.html
> > Runtime Error: embedded:startup.tcl:58: couldn't read file 
> > "C:workopenocinarin..
> > /board//ek-lm3s1968.cfg": No such file or directory
> > in procedure 'script'
> > at file "embedded:startup.tcl", line 58
> 
> So the commit that broke this is probably
> 
> commit a62d8f2271312ba955e839509590f5a5975b1b49

By the way, here is how I found this:

$ git grep -n proc.script|cat
src/helper/startup.tcl:57:proc script {filename} {
$ git blame -L 57,59 src/helper/startup.tcl|cat
3287b866 src/startup.tcl        (oharboe         2008-07-16 20:20:15 +0000 57) 
proc script {filename} {
a62d8f22 src/helper/startup.tcl (Steve Bennett   2011-08-11 12:10:54 +1000 58) 
uplevel #0 source [find $filename]
3287b866 src/startup.tcl        (oharboe         2008-07-16 20:20:15 +0000 59) }

And I confirmed that the commit was not in 0.5.0:

$ git tag --contains a62d8f22
$ 

Of course it is still possible that some other commit is the real
problem! But the uplevel name and the perfect commit message makes
it easy to guess that this change is responsible for the extra
evaluation.


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

Reply via email to