A vCont;c packet applies to all harts?

This commit is contained in:
Palmer Dabbelt 2018-05-30 17:56:45 -07:00
parent 91e544d66c
commit 0bf2976aa3
1 changed files with 1 additions and 0 deletions

View File

@ -260,6 +260,7 @@ static int riscv_gdb_v_packet(struct connection *connection, const char *packet,
if (strcmp(packet_stttrr, "vCont;c") == 0) {
target_call_event_callbacks(target, TARGET_EVENT_GDB_START);
target_call_event_callbacks(target, TARGET_EVENT_RESUME_START);
riscv_set_all_rtos_harts(target);
riscv_openocd_resume(target, 1, 0, 0, 0);
target->state = TARGET_RUNNING;
gdb_set_frontend_state_running(connection);