target/arm_dap: fix segmentation fault in 'dap info' cmd 60/4860/2
authorTomas Vanek <vanekt@fbl.cz>
Sat, 19 Jan 2019 14:58:49 +0000 (15:58 +0100)
committerMatthias Welwarsky <matthias@welwarsky.de>
Wed, 23 Jan 2019 15:25:53 +0000 (15:25 +0000)
commit418515b21ed506449dfc9981265edec7800619b5
treed7c33b2a7ee0ecaac1983b3a4d931c2b283a6275
parent8896abbf07b11869018889ed672f05cf61295aaf
target/arm_dap: fix segmentation fault in 'dap info' cmd

'dap info' command fails hard on a hla target.

Change-Id: Ia188b1afe527e0ed64512d1bddadd507f978e40b
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/4860
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
src/target/arm_dap.c