Save/restore mstatus, too.
authorTim Newsome <tim@sifive.com>
Tue, 3 May 2016 17:55:00 +0000 (10:55 -0700)
committerTim Newsome <tim@sifive.com>
Mon, 23 May 2016 19:12:11 +0000 (12:12 -0700)
commit113ea7930bb9b73779f1febc6f7ad48c675d1d47
tree46236d532369b66dade208c533d23c0f026adf30
parent7112906ab99a2496e2ca9113298676df78e60f5e
Save/restore mstatus, too.

Also read DCSR, which will be useful to figure out why we halted.
riscv/gdbserver.cc
riscv/gdbserver.h