diff options
author | Tim Newsome <tim@sifive.com> | 2019-01-17 12:46:20 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2019-01-17 15:01:47 -0800 |
commit | c1ef5f61c3b9b59e1a410badb90e485a98cdedb4 (patch) | |
tree | ed07a251ef180897bcf5e2890f212e7fb43f986c /src/server | |
parent | c84d56debcc3b7263bc66234164e249b9b1ad737 (diff) | |
download | riscv-openocd-c1ef5f61c3b9b59e1a410badb90e485a98cdedb4.zip riscv-openocd-c1ef5f61c3b9b59e1a410badb90e485a98cdedb4.tar.gz riscv-openocd-c1ef5f61c3b9b59e1a410badb90e485a98cdedb4.tar.bz2 |
Fix reading of non-general registers for hwthread
Previously the code made the assumption (which is valid for conventional
RTOSs) that special registers (e.g. CSRs) are the same across threads.
26/45 tests pass.
Change-Id: Ibb3398790d7354a995d506772375d869f608f1f0
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/gdb_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/gdb_server.c b/src/server/gdb_server.c index 0b43155..4631ffb 100644 --- a/src/server/gdb_server.c +++ b/src/server/gdb_server.c @@ -96,7 +96,7 @@ struct gdb_connection { char *thread_list; }; -#if 0 +#if 1 #define _DEBUG_GDB_IO_ #endif |