Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. GDB Debugger crashes in QtCreator
Qt 6.12 LTS is out! See what's new in the release blog

GDB Debugger crashes in QtCreator

Scheduled Pinned Locked Moved Solved Mobile and Embedded
3 Posts 1 Posters 996 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.
  • K Offline
    K Offline
    Krulle
    wrote on last edited by
    #1

    Hello Guys,

    I have cross-compiled Qt 5.12 with GCC 7.5 and have a problem with the Debugger. The debugger is installed on the RasPi.

    If I start in debugger mode, console says:

    21:23:42: Prüfe Verfügbarkeit von Ports...
    21:23:42: 101 freie Ports gefunden.
    21:23:42: Starte gdbserver --multi :10000...
    21:23:42: Debugging /home/pi/Brausteuerung/bin/Brausteuerung ...
    Listening on port 10000
    Remote debugging from host 192.168.0.190
    Process /home/pi/Brausteuerung/bin/Brausteuerung created; pid = 16322
    Killing process(es): 16322
    21:23:42: Die Anwendung wurde beendet, Rückgabewert 0.
    21:23:42: Debugging of /home/pi/Brausteuerung/bin/Brausteuerung has finished with exit code 0.
    

    gdbserver --version:

    GNU gdbserver (Raspbian 7.12-6) 7.12.0.20161007-git
    Copyright (C) 2016 Free Software Foundation, Inc.
    gdbserver is free software, covered by the GNU General Public License.
    This gdbserver was configured as "arm-linux-gnueabihf"
    

    Unfortunately, Google did not print out any suitable information either. Does anyone have any ideas?

    Thanks a lot.

    Toni

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Krulle
      wrote on last edited by
      #2

      Hello,

      sorry, my fault. The debugger was not yet configured.
      However, the debugger cannot be selected from the toolchain or is not recognised by Qt Creator. Do you have any solutions for this?
      I'm afraid that I'm selecting the wrong debugger and have to get the one from the Pi first. Since the one from the toolchain does not correspond to the one installed on the Pi. Right?!
      debugger.PNG

      1 Reply Last reply
      0
      • K Offline
        K Offline
        Krulle
        wrote on last edited by
        #3

        Hello,

        i've fixed the problem.
        You just have to choose the right debugger.
        This debugger works for me.
        debuugerMultiarch.PNG

        1 Reply Last reply
        0

        • Login

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