Showing the changes to src/vm/tool_dispatch.cpp (1 of 9 files). Show all
Unified · Split
| @@ -164,8 +164,12 @@ void vm_tool_dispatch_t::on_thread_end(vm_thread_t &t) · 163 unmodified lines | |||
| 164 | _events.fire_event_callbacks(vm_event_t::thread_end, cxt); | 164 | _events.fire_event_callbacks(vm_event_t::thread_end, cxt); |
| 165 | } | 165 | } |
| 166 | 166 | ||
| 167 | void vm_tool_dispatch_t::on_thread_broken(vm_thread_t &) | 167 | void vm_tool_dispatch_t::on_thread_broken(vm_thread_t &t) |
| 168 | { | 168 | { |
| 169 | vm_event_context_t cxt{}; | ||
| 170 | cxt.value1.thread = &t; | ||
| 171 | |||
| 172 | _events.fire_event_callbacks(vm_event_t::thread_broken, cxt); | ||
| 169 | } | 173 | } |
| 170 | 174 | ||
| 171 | void vm_tool_dispatch_t::block_if_thread_suspended(uint32_t thread_id) | 175 | void vm_tool_dispatch_t::block_if_thread_suspended(uint32_t thread_id) |