GDB Debugger crashes in QtCreator
Solved
Mobile and Embedded
-
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
-
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?!