Xiaofan Chen wrote:
> The following does work now.
> C:\work\openocd\binary>openocd -f board\\ek-lm3s1968.cfg

-f has not changed in almost 5 years, and directly calls the script
procedure, which was changed by Steve's commit.

So maybe both things are caused by the commit after all.

There's actually an easier way to test further, without creating
branches, since the commit only changes interpreted code nothing
needs to be recompiled.

Edit src/startup.tcl (note! not the file that the commit changes, the
commit changes src/helper/startup.tcl, if that file is changed then
rebuild is neccessary) and remove uplevel #0 from line 58. The line
should only read:

        source [find $filename]

This is the functional equivalent of reverting Steve's commit. I am
not proposing that we do this, but it helps understanding this code
better.

FWIW I like very much that -f in current git is using paths relative
to the directory where openocd is being run.


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

Reply via email to