]> git.sur5r.net Git - openocd/commit
fix 'jtag interface' behavior
authorZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 07:10:26 +0000 (23:10 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 11 Nov 2009 22:04:06 +0000 (14:04 -0800)
commit5e1b500b173c7abaf9b78e32d31140c1bd4ba090
tree8d412d147d01b705c201da5f2846238d84daed5e
parent158698e3331b446243b863ab8b58ebee2c56f0cc
fix 'jtag interface' behavior

Without this patch, running "openocd -c 'jtag interface'" segfaults.
Now, it returns the string "undefined" when the interface is unset.
src/jtag/tcl.c