]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: allow gdb(4) to write to most registers
authorMitchell Horne <mhorne@FreeBSD.org>
Fri, 18 Dec 2020 16:09:24 +0000 (16:09 +0000)
committerMitchell Horne <mhorne@FreeBSD.org>
Fri, 18 Dec 2020 16:09:24 +0000 (16:09 +0000)
commit0ef474de88fdb78e3cb7ac9bc0b1b98e5b49b4e4
treebf5a8af3fd06ced65ab7372b5cc79c50a482e5ae
parent0f8b212a1e41d6eabf2a17442bcbe4f128f023f8
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