diff options
author | John Baldwin <jhb@FreeBSD.org> | 2018-11-06 09:47:21 -0800 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2018-11-06 09:47:21 -0800 |
commit | bcecc11da243fe5c333f9d2d914663d09f4b868d (patch) | |
tree | 7584b582c5eb750d56b9517283d22ea6c3d6b6a9 /gdb/ChangeLog | |
parent | 8a6b075bc07f66678ed0176f895847df3ea7fcef (diff) | |
download | gdb-bcecc11da243fe5c333f9d2d914663d09f4b868d.zip gdb-bcecc11da243fe5c333f9d2d914663d09f4b868d.tar.gz gdb-bcecc11da243fe5c333f9d2d914663d09f4b868d.tar.bz2 |
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.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 4755ba9..68ecef7 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-11-06 John Baldwin <jhb@FreeBSD.org> + + * riscv-fbsd-nat.c (getregs_supplies): Return true for + RISCV_CSR_SSTATUS_REGNUM. + 2018-11-04 Philippe Waroquiers <philippe.waroquiers@skynet.be> * source.c (open_source_file): Fix leak by transferring the |