]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: Let the GDB stub write to SP, LR and GP registers
authorMark Johnston <markj@FreeBSD.org>
Mon, 7 Dec 2020 15:09:28 +0000 (15:09 +0000)
committerMark Johnston <markj@FreeBSD.org>
Mon, 7 Dec 2020 15:09:28 +0000 (15:09 +0000)
commit8bf82b340e59cdc7d6cac49762104d48cebd2283
tree3a07aabf06076f6a736c78b7b2ee1b7c545f4f3d
parentc97e33e1fd6d2562473a71293c53683b55f6711f
arm: Let the GDB stub write to SP, LR and GP registers

This can be handy if gdb's stack unwinder fails, for example because of
a bug in kgdb's trap frame unwinder.

PR: 251463
Submitted by: Dmitry Salychev <dsl@mcusim.org>
MFC after: 1 week
sys/arm/arm/gdb_machdep.c
sys/arm/include/gdb_machdep.h