Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. GDB BBB Connection Failed: Gdbserver not found
Forum Updated to NodeBB v4.3 + New Features

GDB BBB Connection Failed: Gdbserver not found

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.2k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    LeandroTeixeira
    wrote on 19 Oct 2020, 19:17 last edited by
    #1

    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.

    P 1 Reply Last reply 19 Oct 2020, 20:14
    0
    • L LeandroTeixeira
      19 Oct 2020, 19:17

      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.

      P Offline
      P Offline
      Pablo J. Rogina
      wrote on 19 Oct 2020, 20:14 last edited by
      #2

      @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.

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • L Offline
        L Offline
        LeandroTeixeira
        wrote on 20 Oct 2020, 11:48 last edited by
        #3

        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!

        1 Reply Last reply
        0

        1/3

        19 Oct 2020, 19:17

        • Login

        • Login or register to search.
        1 out of 3
        • First post
          1/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved