Multithread gdbstub and execution, with cont/halt
This commit is contained in:
@@ -28,6 +28,7 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
// CPU simulation : create cpu0 thread
|
||||
if(!gdbstub) cpu0->sim_ticks_left = -1; // Simulate forever
|
||||
pthread_t cpu0_thread;
|
||||
pthread_create(&cpu0_thread, 0, (void*) cpu_loop, cpu0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user