Reconcile debugger and save state stuff into a single implementation.
Fixes #497 and fixes #496. Still rough edges, but at least less duplication.
This commit is contained in:
@@ -315,9 +315,7 @@ object_ref<XThread> UserModule::Launch(uint32_t flags) {
|
||||
}
|
||||
|
||||
// Waits for a debugger client, if desired.
|
||||
if (emulator()->debugger()) {
|
||||
emulator()->debugger()->PreLaunch();
|
||||
}
|
||||
emulator()->processor()->PreLaunch();
|
||||
|
||||
// Resume the thread now.
|
||||
// If the debugger has requested a suspend this will just decrement the
|
||||
|
||||
Reference in New Issue
Block a user