On Thu, Nov 5, 2026 at 1:54 AM Pierrick Bouvier
<[email protected]> 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.
> Simplify control flow to always call gdb_handle_query_supported_user.
>
> Signed-off-by: Pierrick Bouvier <[email protected]>
> ---
>  gdbstub/gdbstub.c | 15 +++++++--------
>  gdbstub/user.c    |  4 +---
>  2 files changed, 8 insertions(+), 11 deletions(-)
>

Reviewed-by: Marco Liebel <[email protected]>

Reply via email to