openocd/src
Paul Fertser ca0e237d39 arm11: initialise DPM and register cache before reading DSCR for the first time
When target was already halted during the initial examination,
arm11_check_init() was trying to read, store and interpret DSCR
contents before the DPM structure is initialised. This caused
a segfault like described on
http://sourceforge.net/apps/trac/openocd/ticket/65 .

This is a totally untested attempt to fix this issue.

Change-Id: I2fff115679a3f0023e7a88c749ccb5f045d6cf01
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2043
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
2015-03-09 06:39:28 +00:00
..
flash flash/nor/stellaris: remove dead assignment 2015-03-09 06:33:53 +00:00
helper configure: define WIN32_LEAN_AND_MEAN early to make it effective 2015-02-04 21:56:55 +00:00
jtag stlink: avoid null pointer dereference in stlink_usb_close() 2015-03-09 06:38:52 +00:00
pld update files to correct FSF address 2013-06-05 19:52:42 +00:00
rtos rtos: Freescale MQX rtos support 2015-03-09 06:29:17 +00:00
server server: tcl_notifications command 2015-03-09 06:30:30 +00:00
svf Openocd: svf: Add ability to ignore svf_check_tdo errors 2014-07-03 18:08:48 +00:00
target arm11: initialise DPM and register cache before reading DSCR for the first time 2015-03-09 06:39:28 +00:00
transport transport: clarify error message when transport is not selected 2015-01-09 08:48:18 +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 Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +00:00
openocd.c Added system signal handling to Linux version 2015-03-09 06:25:45 +00:00
openocd.h Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00