Skip to content

Qemu - Remote debugging loop #3373

@SecT0uch

Description

@SecT0uch

Environment information

  • Operating System: Manjaro
  • Cutter version: 2.3.4
  • Obtained from:
    • Built from source
    • Downloaded release from Cutter website or GitHub
    • Distribution repository
  • File format: AppImage

Describe the bug

The connection to gdb loops forever when trying to run a mips binary with Qemu.
Works with rizin from package manager.

To Reproduce

Steps to reproduce the behavior:

  1. Run qemu-mipsel -L buildroot/output/target/ -g 1234 ./mipsel.bin
  2. On cutter: Connect to a remote debugger
  3. Enter 127.0.0.1:1234
  4. Connecting loop..

And rizin -a mipsel -d gdb://localhost:1234 works fine.

Expected behavior

The remote debugger connects.

Screenshots

image

Bonus: when clicking Cancel or closing, cutter starts freezing and I have to kill the process.

Am I doing anything wrong ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    DebugIssues 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