Multithread gdbstub and execution, with cont/halt

This commit is contained in:
2023-10-08 17:42:44 +02:00
parent a10f56446a
commit f52699a8bf
4 changed files with 28 additions and 1 deletions
+1
View File
@@ -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);