aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-05-30 06:07:56 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2018-05-30 06:07:56 -0700
commita8f45d36a83525f51cd9d0122e5b24f9d7c760ef (patch)
treea0d4c0e7f7feeac54fa4080a74729ae847ca578b
parent395592ece37b5a861d15bd8afadb92c2ac89c13c (diff)
downloadriscv-openocd-a8f45d36a83525f51cd9d0122e5b24f9d7c760ef.zip
riscv-openocd-a8f45d36a83525f51cd9d0122e5b24f9d7c760ef.tar.gz
riscv-openocd-a8f45d36a83525f51cd9d0122e5b24f9d7c760ef.tar.bz2
I guess just set all harts, not any hart
-rw-r--r--src/rtos/riscv_debug.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/rtos/riscv_debug.c b/src/rtos/riscv_debug.c
index 7fe70c7..f15988e 100644
--- a/src/rtos/riscv_debug.c
+++ b/src/rtos/riscv_debug.c
@@ -174,8 +174,6 @@ static int riscv_gdb_thread_packet(struct connection *connection, const char *pa
switch (tid) {
case 0:
- riscv_set_rtos_hartid(target, 1);
- break;
case -1:
riscv_set_all_rtos_harts(target);
break;