Getting a GDB warning when debugging...

  • ...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?


  • Moderators

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

  • Hi, Tobias -

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

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.