Only read exception flag in gdb register read/write. (#85)
authorBrian Campbell <bacam@z273.org.uk>
Fri, 30 Dec 2016 21:14:50 +0000 (21:14 +0000)
committerAndrew Waterman <aswaterman@gmail.com>
Fri, 30 Dec 2016 21:14:50 +0000 (15:14 -0600)
commitf38dcde0d80d2f4818b8f20067b8de5267c8ade6
treee51055828137ee3e566712488020332798bc20fd
parent7647707a60787c31210794340ee9399c2357df6a
Only read exception flag in gdb register read/write. (#85)

The flag is 32 bits, and if we read 64/128 bits then we get fragments of
S1 too and can accidentally send an error.  Fixes #84.
riscv/gdbserver.cc