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-StrK Offline
    K-StrK Offline
    K-Str
    wrote on 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

    jsulmJ C Pablo J. RoginaP 3 Replies Last reply
    0
    • K-StrK K-Str

      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

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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-StrK Offline
        K-StrK Offline
        K-Str
        wrote on 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?

        jsulmJ 1 Reply Last reply
        0
        • K-StrK 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?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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-StrK K-Str

            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 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-StrK Offline
              K-StrK Offline
              K-Str
              wrote on 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-StrK K-Str

                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

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on 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-StrK Offline
                  K-StrK Offline
                  K-Str
                  wrote on 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

                  Pablo J. RoginaP 1 Reply Last reply
                  1
                  • K-StrK K-Str

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

                    Pablo J. RoginaP Offline
                    Pablo J. RoginaP Offline
                    Pablo J. Rogina
                    wrote on 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

                    • Login

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