diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 19:13:03 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-25 10:29:05 -0800 |
commit | 9e5d8a94f1ea28ee6764511f0cb3c38b22ca8b51 (patch) | |
tree | bd05ae2cf89cb820bfda154142a6c737ab621dd7 /tcl/target/lpc2148.cfg | |
parent | 910bb250c479b4de9c30231e1a090e9a2d647434 (diff) | |
download | openocd+libswd-9e5d8a94f1ea28ee6764511f0cb3c38b22ca8b51.tar.gz openocd+libswd-9e5d8a94f1ea28ee6764511f0cb3c38b22ca8b51.tar.bz2 openocd+libswd-9e5d8a94f1ea28ee6764511f0cb3c38b22ca8b51.tar.xz openocd+libswd-9e5d8a94f1ea28ee6764511f0cb3c38b22ca8b51.zip |
encapsulate and re-use log capture, retval setup
Factors log capture while running script commands, eliminating
duplicated code between script_command and jim_capture. Factors
setting a command's Jim "retval" into a new helper as well.
Using these new helpers in the new unknown command handler's
fixes possible regressions caused by these bits being missing.
Diffstat (limited to 'tcl/target/lpc2148.cfg')
0 files changed, 0 insertions, 0 deletions