Return 5 (SIGBREAK) not 2 (SIGINT) after a step
GDB seems to just go off the rails if I return a SIGINT.
This commit is contained in:
parent
f0969e7c71
commit
51ab5a0c8b
|
@ -241,7 +241,7 @@ static int riscv_gdb_v_packet(struct connection *connection, const char *packet,
|
|||
riscv_set_rtos_hartid(target, threadid - 1);
|
||||
riscv_step_rtos_hart(target);
|
||||
|
||||
gdb_put_packet(connection, "S02", 3);
|
||||
gdb_put_packet(connection, "S05", 3);
|
||||
return JIM_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue