]> git.sur5r.net Git - openocd/commit
target: armv8: Avoid semihosting segfault on halt
authorAndreas Färber <afaerber@suse.de>
Sun, 8 Jul 2018 17:52:06 +0000 (19:52 +0200)
committerMatthias Welwarsky <matthias@welwarsky.de>
Fri, 13 Jul 2018 08:19:09 +0000 (09:19 +0100)
commitb82ee0799f6e30d3f03bd707c6e9729de92248d2
treeedc470bcc15e09c3dc5337afae815492e0622a1e
parent0aa8e8cfc3c28f4fcbba549db45be4e712f02c0a
target: armv8: Avoid semihosting segfault on halt

Avoid a NULL pointer dereference when halting an aarch64 core.

Change-Id: I333d40475ab26e2f0dca5c27302a5fa4d817a12f
Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-on: http://openocd.zylin.com/4593
Tested-by: jenkins
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
src/target/armv8.c