Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Compile GDB with pythron script support using crosstool-ng
atilla.dudas last edited by
I am developing an app running on the RPi. So far I was not able to debug properly because cannot read the built in QtObjects to make sense (like QtSring etc). If I've understood correctly, this is because of the lack of python script support in the GDB.
My Qt is created by using bakeqtpi script with Package installation mode. The used compiler is gcc-4.7-linaro-rpi-gnueabihf (downloaded by the script).
My plan was to recompile the GDB using Crosstool-NG and the "arm-linux-gnueabihf-ct-ng.config". But I realised that the configuration extracted from the ...ct-ng.config file gives a bare-metal compiler not a linux one, and furthermore the compiler cannot be created with these setting, only if change the configuration of using static stdlibc++.
So my questions are:
Enabling python script support on GDB will help me in debugging?
Why cannot create the same compiler by using the ...ct-ng,config file?
Any help will be appreciated.