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:
Palmer Dabbelt 2017-05-25 18:31:38 -07:00
parent f0969e7c71
commit 51ab5a0c8b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}