Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to set GDB version for QtCreator
Qt 6.11 is out! See what's new in the release blog

How to set GDB version for QtCreator

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 777 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.
  • S Offline
    S Offline
    StringTheory
    wrote on last edited by
    #1

    I had compiled and installed GDB v8.2, and installed it in both usr/bin and usr/local/bin. When I run "GDB" from a terminal, it identifies as v8.2. I've set those locations in QtCreator's options pages for kits and for debuggers. There should be no way for QtCreator to find an older GDB version.

    However, I just noticed the debugger log file has lines saying "GDB 71101", presumably because it is using v7.11.1 (?!). I did not find any older stray 7.11.1 versions that QtCreator could be picking up. No GDB versions found within the QtCreator folders.

    Is there any other options page where the GDB location needs to be set? Any way to trace where QtCreator is finding an older version of GDB?

    S 1 Reply Last reply
    0
    • S StringTheory

      I had compiled and installed GDB v8.2, and installed it in both usr/bin and usr/local/bin. When I run "GDB" from a terminal, it identifies as v8.2. I've set those locations in QtCreator's options pages for kits and for debuggers. There should be no way for QtCreator to find an older GDB version.

      However, I just noticed the debugger log file has lines saying "GDB 71101", presumably because it is using v7.11.1 (?!). I did not find any older stray 7.11.1 versions that QtCreator could be picking up. No GDB versions found within the QtCreator folders.

      Is there any other options page where the GDB location needs to be set? Any way to trace where QtCreator is finding an older version of GDB?

      S Offline
      S Offline
      StringTheory
      wrote on last edited by
      #2

      No ideas about this?

      Any chance that the older version of GDB is being picked up from some obscure location, or from cache somewhere?

      aha_1980A 1 Reply Last reply
      0
      • S StringTheory

        No ideas about this?

        Any chance that the older version of GDB is being picked up from some obscure location, or from cache somewhere?

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi @StringTheory,

        Any chance that the older version of GDB is being picked up from some obscure location, or from cache somewhere?

        Well if you scan your whole disk for gdb and don't have further occurrences, you should be save. I don't think there is more magic involved. If you have more than one gdb on disk, you should rename the other ones for test.

        Maybe your question regarding the log entry could better be answered at the Creator mailing list.

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        0

        • Login

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