Gdb-error: The selected build of GDB does not support Python scripting
-
Hello,
with your help I got qt running on my UBUNTU-PC and I also can remotely create software for a raspberry#Zero-w.
But now I can't debug.
As I start debugging I get the following error:
The selected build of GDB does not support Python scripting.
It cannot be used in Qt Creator.
I found something that I need to install gdb-multiarch on Ubuntu. s this correct? and where I have to setup the GDB?
Who can give me some help?
Kurt -
Hello,
with your help I got qt running on my UBUNTU-PC and I also can remotely create software for a raspberry#Zero-w.
But now I can't debug.
As I start debugging I get the following error:
The selected build of GDB does not support Python scripting.
It cannot be used in Qt Creator.
I found something that I need to install gdb-multiarch on Ubuntu. s this correct? and where I have to setup the GDB?
Who can give me some help?
Kurt -
Hi jsulm,
thank you for your answer.
On my host it is:
GNU gdb (Ubuntu 8.1-0ubuntu3) 8.1.0.20180409-git
On the raspberry it is :
GNU gdb (Raspbian 7.12-6) 7.12.0.20161007-git
Which one is twrong? -
Hello,
with your help I got qt running on my UBUNTU-PC and I also can remotely create software for a raspberry#Zero-w.
But now I can't debug.
As I start debugging I get the following error:
The selected build of GDB does not support Python scripting.
It cannot be used in Qt Creator.
I found something that I need to install gdb-multiarch on Ubuntu. s this correct? and where I have to setup the GDB?
Who can give me some help?
KurtNot sure if applicable for python but for c++ it is.
use this as the gdb and not the default from ubuntu repo. even the linaro have a red warning when linaro gdb is used(7.4.1)
/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-gdb
-
Hi crann32, hi jsulm,
thank you for your answers.
@cranz32 yes I used the one you recommended but it shows the same error.
For c++ I use
/home/kurt/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-c++
and for c
/home/kurt/raspi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf-g++
as compilers.Please does somebody have any idea?
Kurt -
Hello,
with your help I got qt running on my UBUNTU-PC and I also can remotely create software for a raspberry#Zero-w.
But now I can't debug.
As I start debugging I get the following error:
The selected build of GDB does not support Python scripting.
It cannot be used in Qt Creator.
I found something that I need to install gdb-multiarch on Ubuntu. s this correct? and where I have to setup the GDB?
Who can give me some help?
Kurt@K-Str said in Gdb-error: The selected build of GDB does not support Python scripting:
I found something that I need to install gdb-multiarch on Ubuntu. s this correct? and where I have to setup the GDB?
Have you checked this blog post?
Not that I've tried it myself, but it seems like what you are looking for. See screenshot there about pointing Qt Creator to use it. Several comments there confirm the setup to work, at least at that time (2014~2015)
-
@K-Str ok, so if you solved your issue don't forget to mark your post as such.
And also don't forget to upvote the answer(s) that helped you solved it :-)