On 10/30/2026 2:21 PM, Pierrick Bouvier wrote: > From: Justin Sapp <[email protected]> > > https://sourceware.org/gdb/current/onlinedocs/gdb.html/General-Query-Packets.html#qSupported > ``` > Whenever the stub receives a ‘qSupported’ request, the supplied set > of GDB features should override any previous request. This allows GDB to > put the stub in a known state, even if the stub had previously been > communicating with a different version of GDB. > ``` > > We exposed this by connecting to gdbstub using a gdb client first, and > then WinDbg (EXDI) for windows kernel debugging. Since they both > differ in their multiprocess support, this was confusing EXDI. > > While we are here, fix the same for fork_events in user mode. > > Signed-off-by: Pierrick Bouvier <[email protected]> > --- > gdbstub/gdbstub.c | 6 ++++++ > gdbstub/user.c | 1 + > 2 files changed, 7 insertions(+) >
Sent v2, fixing the rest of fork_events, and simplifying control flow. @Alex, I didn't apply your R-b, so I would appreciate if you could take a new look at it. https://lore.kernel.org/qemu-devel/[email protected]/T/#u Thanks, Pierrick
