aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2017-04-14 14:19:40 -0700
committerPalmer Dabbelt <palmer@dabbelt.com>2017-04-14 14:19:40 -0700
commit747f769f7d5260aeb8da80d888133ae771f65e25 (patch)
treed49b112ced0aa84ed1eb02832c04a0968ab91cfe
parent57d08889ce3099131e4617ff7e42162ccdd0dbb7 (diff)
downloadriscv-openocd-747f769f7d5260aeb8da80d888133ae771f65e25.zip
riscv-openocd-747f769f7d5260aeb8da80d888133ae771f65e25.tar.gz
riscv-openocd-747f769f7d5260aeb8da80d888133ae771f65e25.tar.bz2
unhalt
-rw-r--r--src/target/riscv/riscv-013.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index 8efc610..982f808 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -1622,8 +1622,10 @@ static void riscv013_step_or_resume_current_hart(struct target *target, bool ste
LOG_ERROR(" dmcontrol=0x%08x", dmcontrol);
LOG_ERROR(" dmstatus =0x%08x", dmstatus);
+#if 0
if (step)
halt_current_hart();
+#endif
abort();
}