Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

GDB BBB Connection Failed: Gdbserver not found



  • Hello.
    I am using Qt and beaglebone black processor. I have access via ssh to send my application and it runs perfectly. But when i tried to start a debug with GDB, i have this message:

    : Checking available ports...
    : Found 101 free ports.
    : Starting gdbserver --multi :10000...
    : Debugging starts
    sh: exec: line 1: gdbserver: not found
    : Application finished with exit code 127.
    : Debugging has finished

    If i use the gdb and runs the same code on PC it works either.
    1º Do I need have a "gdbserver" on the beagleboneblack?
    2º I configure the gdb debugger (kits) with: arm-none-linux-gnueabihf-gdb, is it correct?

    Thanks.



  • @LeandroTeixeira said in GDB BBB Connection Failed: Gdbserver not found:

    1º Do I need have a "gdbserver" on the beagleboneblack?

    Yes, you need it running on the target. Not specific for BBB but you can check some concepts about remote debugging here.



  • Thanks Pablo, i compiled the gdbserver on buildroot, and i copied for the target. Now i can use the gdb over qt.

    : Checking available ports...
    : Found 101 free ports.
    : Starting gdbserver --multi :10000...
    : Debugging starts
    Listening on port 10000
    Remote debugging from host 192.168.6.1, port 37666
    Process /opt/RealTimePlot/bin/RealTimePlot created; pid = 649

    Now i will try solve my program problem!


Log in to reply