Pass EVENT_RESUMED in the RTOS
I missed this event. It appears to do nothing.
This commit is contained in:
parent
ab77c5d792
commit
f0969e7c71
|
@ -246,11 +246,12 @@ static int riscv_gdb_v_packet(struct connection *connection, const char *packet,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(packet_stttrr, "vCont;c") == 0) {
|
if (strcmp(packet_stttrr, "vCont;c") == 0) {
|
||||||
target->state = TARGET_RUNNING;
|
|
||||||
gdb_set_frontend_state_running(connection);
|
|
||||||
target_call_event_callbacks(target, TARGET_EVENT_GDB_START);
|
target_call_event_callbacks(target, TARGET_EVENT_GDB_START);
|
||||||
target_call_event_callbacks(target, TARGET_EVENT_RESUME_START);
|
target_call_event_callbacks(target, TARGET_EVENT_RESUME_START);
|
||||||
riscv_resume_all_harts(target);
|
riscv_resume_all_harts(target);
|
||||||
|
target->state = TARGET_RUNNING;
|
||||||
|
gdb_set_frontend_state_running(connection);
|
||||||
|
target_call_event_callbacks(target, TARGET_EVENT_RESUMED);
|
||||||
target_call_event_callbacks(target, TARGET_EVENT_RESUME_END);
|
target_call_event_callbacks(target, TARGET_EVENT_RESUME_END);
|
||||||
return JIM_OK;
|
return JIM_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue