]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Note that PT_GETREGS supplies SSTATUS for FreeBSD/riscv.
authorJohn Baldwin <jhb@FreeBSD.org>
Tue, 6 Nov 2018 17:47:21 +0000 (09:47 -0800)
committerJohn Baldwin <jhb@FreeBSD.org>
Tue, 6 Nov 2018 17:47:21 +0000 (09:47 -0800)
commitbcecc11da243fe5c333f9d2d914663d09f4b868d
tree7584b582c5eb750d56b9517283d22ea6c3d6b6a9
parent8a6b075bc07f66678ed0176f895847df3ea7fcef
Note that PT_GETREGS supplies SSTATUS for FreeBSD/riscv.

This permits reading the value of the SSTATUS CSR returned by ptrace()
for live FreeBSD/riscv processes.

* riscv-fbsd-nat.c (getregs_supplies): Return true for
RISCV_CSR_SSTATUS_REGNUM.
gdb/ChangeLog
gdb/riscv-fbsd-nat.c