openocd/src
Paul Fertser bb0ef230ca tcl/drscan: handle invalid syntax with a conditional, not assert
When "drscan" command is used improperly, such as in:
drscan stm32f1x.cpu -endstate drpause
there're no fields to scan, and so the assert leads to a
segfault. This should be treated like any other syntax error instead.

Change-Id: Id1743f5d641038e1e3754c6f3097aabc5d1916b9
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/1927
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2014-02-24 12:01:52 +00:00
..
flash stm32f1x: Fix option byte flag parsing 2014-02-24 11:55:45 +00:00
helper command: Fix formatting for empty usage string 2014-01-09 13:21:51 +00:00
jtag tcl/drscan: handle invalid syntax with a conditional, not assert 2014-02-24 12:01:52 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos rtos: fix uninitialised variable warning 2014-02-04 21:17:24 +00:00
server gdb_server: Fix confusing warning when entering noack mode 2014-02-06 22:20:29 +00:00
svf svf: off-by-one error; do not access after the allocated memory 2013-09-13 19:34:46 +00:00
target arm926ejs: fix write memory operations with caches enabled 2014-02-11 13:38:39 +00:00
transport update files to correct FSF address 2013-06-05 19:52:42 +00:00
xsvf update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am cmsis-dap: add initial cmsis-dap support 2014-01-09 15:20:51 +00:00
openocd.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
openocd.h update files to correct FSF address 2013-06-05 19:52:42 +00:00