For a few weeks now I got an error in QtCreator every time I started the debugger: “The selected build of GDB does not support Python scripting.It cannot be used in Qt Creator.”
I imagined it’s due to my recent raspbian cleanup as I deleted everything I could (don’t remember why..). So yesterday I reinstalled raspbian from scratch due to a kernel panic and I reinstalled ubuntu due to a new laptop and the error was still there.
Long story short – it seems that the latest versions of QtCreator require python support in the _host_ gdb to be able to format the debug data. The crosscompile toolchain for the raspi (https://github.com/raspberrypi/tools) lacks python support and I’m too green in the linux ways to compile my own toolchain so I got used to the idea of working without a debugger…
Today, desperate after 2 days of trying to nail down a crash I found out that you can use gdb-mutiarch and voila – debugging is back.
sudo apt-get install gdb-multiarch
Point QtCreator to it: