]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: Let the GDB stub write to SP, LR and GP registers
authormarkj <markj@FreeBSD.org>
Mon, 7 Dec 2020 15:09:28 +0000 (15:09 +0000)
committermarkj <markj@FreeBSD.org>
Mon, 7 Dec 2020 15:09:28 +0000 (15:09 +0000)
commitd1593b2a419ab44d2417c6a964d6257ad3dfa314
tree3a07aabf06076f6a736c78b7b2ee1b7c545f4f3d
parentd8b227f7664abf41f9b331de4bfadcd98a6227f9
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