]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: allow gdb(4) to write to most registers
authormhorne <mhorne@FreeBSD.org>
Fri, 18 Dec 2020 16:09:24 +0000 (16:09 +0000)
committermhorne <mhorne@FreeBSD.org>
Fri, 18 Dec 2020 16:09:24 +0000 (16:09 +0000)
commitd28d1ea97b52eafe5dd1ca5f275bb03089eaa5f3
treebf5a8af3fd06ced65ab7372b5cc79c50a482e5ae
parentf86a436763e6c9ac6c4e12070c362de2f15a4261
amd64: allow gdb(4) to write to most registers

Similar to the recent patch to arm's gdb stub in r368414, allow GDB to
update the contents of most general purpose registers.

Reviewed by: cem, jhb, markj
MFC after: 2 weeks
Sponsored by: NetApp, Inc.
Sponsored by: Klara, Inc.
NetApp PR: 44
Differential Revision: https://reviews.freebsd.org/D27642
sys/amd64/amd64/gdb_machdep.c
sys/amd64/include/gdb_machdep.h