Skip to content

GDB: cannot connect to server while rizin can #3350

@boborjan2

Description

@boborjan2

Environment information

  • Operating System: Win11/Linux
  • Cutter version: Version 2.3.4-HEAD-209c26b
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format:
    PE32 or other

Describe the bug
This works:
rizin.exe -d gdb://172.21.208.1:1235
(I verified by wireshark. RSP comm between rizin and mingw gdbserver running on Win11, started with a PE32 file by:
gdbserver 172.21.208.1:1235 bin/api_test.exe. gdbserver can be connected using gdb, r2, rizin)

However, when I load the target.exe in Cutter and then connect to the very same gdbserver, I get a popup and Cutter gets nonresponsive. Wireshark shows no communication to the gdbserver.
I tried to not load the exe as well, but it is not clear to me whether it is supported.

Cutter gets frozen when using gdbserver.

To Reproduce
Start a gdbserver and connect to it with Cutter.

Expected behavior

Cutter is able to connect to a gdbserver rizin can access.

Screenshots

image

And no comm in wireshark.

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    BUGDebugIssues related to the Debug component of Cutter

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions