Reputation: 85
I am trying to use gdbserver in WSL to debug programs with Windbg, but getting a crash of the dbgserver with the following output:
Process ./program created; pid = 454
Listening on port 1234
Remote debugging from host 172.24.64.1, port 61926
readchar: Connection reset by peer
Segmentation fault
The debugging works with other binaries, such as cat, but not with my program. I suspect this is because the program is a 32-bit elf and windbg does not support this, but can't find any evidence of this in windbg's documentation or anywhere else.
Upvotes: 0
Views: 57