Pass EVENT_RESUMED in the RTOS

I missed this event.  It appears to do nothing.
This commit is contained in:
Palmer Dabbelt 2017-05-25 13:13:22 -07:00
parent ab77c5d792
commit f0969e7c71
1 changed files with 3 additions and 2 deletions

View File

@ -246,11 +246,12 @@ static int riscv_gdb_v_packet(struct connection *connection, const char *packet,
}
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_RESUME_START);
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);
return JIM_OK;
}