Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Gdb-error: The selected build of GDB does not support Python scripting

Gdb-error: The selected build of GDB does not support Python scripting

Scheduled Pinned Locked Moved Solved Installation and Deployment
9 Posts 4 Posters 2.8k Views
  • 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.
  • K Offline
    K Offline
    K-Str
    wrote on 14 Feb 2019, 15:57 last edited by
    #1

    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

    J C P 3 Replies Last reply 15 Feb 2019, 05:50
    0
    • K K-Str
      14 Feb 2019, 15:57

      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

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 15 Feb 2019, 05:50 last edited by
      #2

      @K-Str What is your GDB version?
      Debuggers are configured in QtCreator under Kits/Debuggers and selected for each Kit.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • K Offline
        K Offline
        K-Str
        wrote on 15 Feb 2019, 07:16 last edited by K-Str
        #3

        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?

        J 1 Reply Last reply 15 Feb 2019, 08:03
        0
        • K K-Str
          15 Feb 2019, 07:16

          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?

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 15 Feb 2019, 08:03 last edited by
          #4

          @K-Str I think both should be OK. Maybe somebody else has an idea.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • K K-Str
            14 Feb 2019, 15:57

            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

            C Offline
            C Offline
            cranz32
            wrote on 15 Feb 2019, 08:48 last edited by cranz32
            #5

            @K-Str

            Not 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
            
            1 Reply Last reply
            0
            • K Offline
              K Offline
              K-Str
              wrote on 15 Feb 2019, 09:36 last edited by K-Str
              #6

              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

              1 Reply Last reply
              0
              • K K-Str
                14 Feb 2019, 15:57

                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

                P Offline
                P Offline
                Pablo J. Rogina
                wrote on 15 Feb 2019, 13:29 last edited by
                #7

                @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)

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                1 Reply Last reply
                2
                • K Offline
                  K Offline
                  K-Str
                  wrote on 15 Feb 2019, 18:31 last edited by
                  #8

                  @Pablo-J-Rogina ,
                  thank you very much!
                  It works perfect.
                  Thank you also to @cranz32 and @jsulm I got very good tips.
                  Kurt

                  P 1 Reply Last reply 15 Feb 2019, 18:40
                  1
                  • K K-Str
                    15 Feb 2019, 18:31

                    @Pablo-J-Rogina ,
                    thank you very much!
                    It works perfect.
                    Thank you also to @cranz32 and @jsulm I got very good tips.
                    Kurt

                    P Offline
                    P Offline
                    Pablo J. Rogina
                    wrote on 15 Feb 2019, 18:40 last edited by
                    #9

                    @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 :-)

                    Upvote the answer(s) that helped you solve the issue
                    Use "Topic Tools" button to mark your post as Solved
                    Add screenshots via postimage.org
                    Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                    1 Reply Last reply
                    1

                    1/9

                    14 Feb 2019, 15:57

                    • Login

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