i have the same problem with ubuntu 10.04, QTCreator bt with gdb7.5 coming with ubuntu.
While debugging starts it shows the following.

&"warning: GDB: Failed to set controlling terminal: Invalid argument\n"
Cannot call inferior functions, you have broken Linux kernel i386 NX (non-executable pages) support!

Any1 tel me y it is showing this error.