Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. Compile GDB with pythron script support using crosstool-ng
Forum Updated to NodeBB v4.3 + New Features

Compile GDB with pythron script support using crosstool-ng

Scheduled Pinned Locked Moved QtonPi
1 Posts 1 Posters 2.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    atilla.dudas
    wrote on 18 Jul 2013, 09:26 last edited by
    #1

    Hi,

    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.

    1 Reply Last reply
    0

    1/1

    18 Jul 2013, 09:26

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved