]> git.sur5r.net Git - openocd/commit
OpenOCD commands w/prefix ocd_ now set the primary Tcl return value instead of messin...
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Jul 2008 20:46:15 +0000 (20:46 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 24 Jul 2008 20:46:15 +0000 (20:46 +0000)
commit1ac48e7500b88a82cd7e455c74dae4028bb03e11
treea9c3ca0abc9f26e19edfa57a069d0d1f3d0f6942
parent74eb754abcb49bd8a61b42398ba80d1a895a4604
OpenOCD commands w/prefix ocd_ now set the primary Tcl return value instead of messing with ocd_output local variable. Much more straightforward and expected behaviour. The side effect is that the ocd_xxx commands will print output twice(once immediately and once upon completion of command). This is a strange, expected and intentional behaviour.

git-svn-id: svn://svn.berlios.de/openocd/trunk@871 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/helper/command.c