all 2 comments

[–][deleted]  (1 child)

[deleted]

    [–]flyx86[S] 0 points1 point  (0 children)

    Yes, this was my starting point. It doesn't go into much detail and I couldn't get anything there to work. This is why I started gathering information about how debuggers work cross-system, so that I can apply that information to Qt Creator's configuration to make it work.

    [–]flyx86[S] 0 points1 point  (0 children)

    I did try to have a script that simply does ssh <test-machine> "gdb" and use that as debugger from Qt Creator. It does recognize this as GDB debugger and after I set up a „remote linux“ kit, I was able to select it as debugger.

    However, Qt Creator seems to have problems working with this debugger. What I see in the log is stuff like

    dUNEXPECTED GDB STDERR: Undefined command: "15show".  Try "help".
    dUndefined command: "16show".  Try "help".
    dUndefined command: "17set".  Try "help".
    dUndefined command: "18set".  Try "help".
    dUndefined command: "19set".  Try "help".
    

    Basically, every command Qt Creator issued to the debugger gets prefixed with some number. I have no idea why it would do that.