diff options
author | Paul Fertser <fercerpav@gmail.com> | 2016-12-12 11:50:17 +0300 |
---|---|---|
committer | Paul Fertser <fercerpav@gmail.com> | 2016-12-25 09:23:56 +0000 |
commit | d491b88dd94afb7c796dbe89ea52aecdefebf1cc (patch) | |
tree | 3f33353fe0e4ea0911b8697b915c317eb170f481 /tcl | |
parent | ee4f11dd6822608b60363766646c96c5290ab7ba (diff) | |
download | riscv-openocd-d491b88dd94afb7c796dbe89ea52aecdefebf1cc.zip riscv-openocd-d491b88dd94afb7c796dbe89ea52aecdefebf1cc.tar.gz riscv-openocd-d491b88dd94afb7c796dbe89ea52aecdefebf1cc.tar.bz2 |
target: cortex_a: fix segfault when SPSR is not properly handled
OpenOCD doesn't (yet) know how to handle HYP mode properly so spsr
register is not getting initialised when OpenOCD connects to a target
stopped in this mode.
Reported on IRC by thinkfat and nearffxx.
Change-Id: I4bda9ba0c582c8e9cacefe708cc4a3d947151f84
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3906
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Chengyu Zheng <chengyu.zheng@polimi.it>
Diffstat (limited to 'tcl')
0 files changed, 0 insertions, 0 deletions