Re: [PATCH] Updating gdbstub to allow safe multithreading in usermode emulation

2022-06-24 Thread Peter Maydell
On Sat, 28 May 2022 at 21:11, Ben Cohen wrote: > > I was testing some multi-threaded code in qemu's usermode and ran into > issues with the gdbstub because the user mode qemu emulation spawns new > threads when the process tries to make a new thread but the gdbstub does > not handle the threads we

Re: [PATCH] Updating gdbstub to allow safe multithreading in usermode emulation

2022-05-28 Thread BENJAMIN COHEN
Sorry, my email service mangled the link I ment to send. It should be:https://github.com/odinssecrets/qemu_gdbstub_multithread_testingOn May 28, 2022 3:53 PM, Ben Cohen wrote:I was testing some multi-threaded code in qemu's usermode and ran into issues with the gdbstub because the user mode qemu

[PATCH] Updating gdbstub to allow safe multithreading in usermode emulation

2022-05-28 Thread Ben Cohen
I was testing some multi-threaded code in qemu's usermode and ran into issues with the gdbstub because the user mode qemu emulation spawns new threads when the process tries to make a new thread but the gdbstub does not handle the threads well. The current gdbstub has a single global struct which c