Hi,

On Mon, Jan 27, 2014 at 02:46:41PM +0100, Alex Züpke wrote:
> currently, commands like "reg" or "mdw" return an empty string when 
> using in TCL scripting:

Yes, an easy way is to use ocd_reg, ocd_mdw instead. The right way is
imho http://openocd.zylin.com/1815 .

> - would it make sense to restrict information in the returned TCL 
> strings to the "right stuff", e.g. only the hex value of the register or 
> dumped memory cell?

Not sure, probably, but strings are easy enough to parse in Tcl I
guess.

-- 
Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software!
mailto:fercer...@gmail.com

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to