Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Getting a GDB warning when debugging...
Forum Update on Monday, May 27th 2025

Getting a GDB warning when debugging...

Scheduled Pinned Locked Moved Qt Creator and other tools
3 Posts 2 Posters 1.9k 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.
  • M Offline
    M Offline
    mzimmers
    wrote on 13 Jun 2012, 17:43 last edited by
    #1

    ...built and debugged this particular program just fine on the Mac. Moved the source code over to Ubuntu, and ran into some troubles debugging. If I have "Run in Terminal" checked, the program never launches. If I don't have it checked, the program runs OK, but I get an error message:

    @&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"@

    Is this some setting I need to fix or something?

    Thanks.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on 13 Jun 2012, 20:11 last edited by
      #2

      I have so far not managed to find out what exactly triggers this. It seems to be caused by gdb not (fully) recognizing that it is not running in a normal terminal. Other IDEs seem to have exactly the same issues with gdbs newer than 6.8.

      The good news is that it is safe to ignore this warning:)

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mzimmers
        wrote on 13 Jun 2012, 21:49 last edited by
        #3

        Hi, Tobias -

        OK, so it's not a Qt issue, then. Thanks.

        1 Reply Last reply
        0

        1/3

        13 Jun 2012, 17:43

        • Login

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