puts is a tcl command with tcl defined behavior. echo is an OpenOCD command with OpenOCD defined behavior.
Probably there is a bit of history and cleanup to be done here, both in terms of behavior & definition. I would expect puts to work w/stdout and echo to work with the currently active channel(gdb / telnet). Originally LOG_XXX() added a \n to stdout, but really I think it would have been better design to have the \n be part of the argument to LOG_XXX() just like it is for printf(). That's a big and tedious search and replace job though. In short: I'm not sure that we have the designed nailed down enough to call any behavior a "bug" as such. Any work should start with defining what we want the behavior to be. That is a bit trickier than it sounds because we have dependencies on the current behavior and we'd have to carefully distinguish between what we want to keep and what we want to throw out... -- Øyvind Harboe US toll free 1-866-980-3434 / International +47 51 63 25 00 http://www.zylin.com/zy1000.html ARM7 ARM9 ARM11 XScale Cortex JTAG debugger and flash programmer _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development