Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt and Jetson TK1 - GDB Debugging

Qt and Jetson TK1 - GDB Debugging

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
2 Posts 2 Posters 495 Views
  • 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.
  • webzoidW Offline
    webzoidW Offline
    webzoid
    wrote on last edited by
    #1

    Having successfully cross-compiled Qt 5.9 for the Jetson TK1, I'm now looking to get debugging up and running from within Qt creator however it is beating me so far.

    Within Qt Creator, under the Tools -> Options -> Build & Run -> Debuggers tab, I've added a manual entry for the arm-linux-gnueabihf-gdb entry from the GCC linaro toolchain used for the Qt cross-compilation.

    I have checked that the "Device" is correct, with the correct IP, user login details and I've done a test and this verifies that the device can be accessed.

    If I deploy a Qt application in release mode, everything works fine. As soon as I attempt to try in debug mode, an error appears with the following message:

    Adapter start failed
    Initial setup failed: Application finished with exit code 127.
    

    It feels like the gdb server isn't running on the TK1 but has anyone experienced this before?

    Thanks in advance.

    1 Reply Last reply
    0
    • O Offline
      O Offline
      Orkun
      wrote on last edited by
      #2

      You can try to install gdbserver with sudo apt-get install gdbserver (or check it first with gdbserver --version). I've solved with installing the gdbserver to TK1.

      1 Reply Last reply
      1

      • Login

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