Skip to content

Windows 9x <-> Windows 11 gdbserver remote debugging, break/interrupt does not work #9

@emxd

Description

@emxd

Hello,

Thank you for all the work on this distribution.

I was trying to make remote debugging work between a Windows 98 VM and Windows 11 and it mostly works except the host debugger (gdb) can't remotely stop the execution of the debugged program, on ctrl+c the debugger issues "The target is not responding to interrupt requests." This is a common problem for remote debuggers on Windows 9x, but I was hoping that maybe you'd have some insights on how to make it work. Windbg has the same problem and only very old Windbg versions can interactively break-in.

I used gdb+gdbserver from this release -> https://github.com/redpanda-cpp/mingw-lite/releases/download/13.4.0-r5/mingw32_686-msvcrt_win98-13.4.0-r5.7z
on a Windows 98 guest (Windows 98 + KernelEx) + Windows 11 host.

The host debugger connects, it's just that the interrupt signal does not break execution. I understand that this might be beyond the scope, only posting here just in case you had any ideas.

Edit: a small addition, this also concers normal gdb debugging on Win9x, not just remote. But gdb.exe, at least in the release build I linked contains a lot more imports, it would be difficult to make it run in Win9x. Which is why I opted for remote debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions