Skip to content
Snippets Groups Projects
Commit d491b88d authored by Paul Fertser's avatar Paul Fertser
Browse files

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: default avatarPaul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/3906


Tested-by: jenkins
Reviewed-by: default avatarMatthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: default avatarChengyu Zheng <chengyu.zheng@polimi.it>
parent ee4f11dd
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment