History

Change assert to exception if a dis module contains an invalid magic number. Broken threads now terminate the VM using the default scheduler. Tools can not get a callback for broken threads.

arr committed 10 years ago

Commit 096b0c71 parent 9c1abd69 files · +74 −28Browse files

Showing the changes to src/exec/debugger.cpp (1 of 9 files). Show all

Unified · Split

src/exec/debugger.cpp+1−1
@@ -304,7 +304,7 @@ namespace · 303 unmodified lines
304 304
305 void cmd_term(const std::vector<std::string> &, dbg_cmd_cxt_t &)305 void cmd_term(const std::vector<std::string> &, dbg_cmd_cxt_t &)
306 {306 {
307 throw vm_user_exception{ "Debugger signaled VM termination" };307 throw vm_term_request{};
308 }308 }
309 309
310 void cmd_print_registers(const std::vector<std::string> &, dbg_cmd_cxt_t &cxt)310 void cmd_print_registers(const std::vector<std::string> &, dbg_cmd_cxt_t &cxt)