Gdb-error: The selected build of GDB does not support Python scripting
-
wrote on 14 Feb 2019, 15:57 last edited by
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@K-Str What is your GDB version?
Debuggers are configured in QtCreator under Kits/Debuggers and selected for each Kit. -
wrote on 15 Feb 2019, 07:16 last edited by K-Str
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? -
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?@K-Str I think both should be OK. Maybe somebody else has an idea.
-
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?
Kurtwrote on 15 Feb 2019, 08:48 last edited by cranz32Not 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
-
wrote on 15 Feb 2019, 09:36 last edited by K-Str
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?
Kurtwrote on 15 Feb 2019, 13:29 last edited by@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)
-
wrote on 15 Feb 2019, 18:40 last edited by
@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 :-)
1/9