User forums > Help

error when running gdb

(1/3) > >>

hagai_sela:
Hi,
I just upgraded to ubuntu 9.10, and I am getting this error when I start the debugger:
"warning: GDB: failed to set controlling terminal: operation not permitted"
I am using the binary build (8.02).

Thanks,
Hagai.

MortenMacFly:

--- Quote from: hagai_sela on November 01, 2009, 09:52:10 pm ---"warning: GDB: failed to set controlling terminal: operation not permitted"

--- End quote ---
Mind using Google before?
http://www.google.com/search?q=warning%3A%20GDB%3A%20failed%20to%20set%20controlling%20terminal%3A%20operation%20not%20permitted

hagai_sela:
I did use google before, nothing seemed to be relevant.

MortenMacFly:

--- Quote from: hagai_sela on November 02, 2009, 09:52:06 am ---I did use google before, nothing seemed to be relevant.

--- End quote ---
It is as it marks this as a gdb issue. So asking here is asking in the wrong forum. Sorry.

AdamParent:
Interesting.

I have the same problem and did a lot of searching via google.  A couple folks had this exact problem when using Netbeans.

To correct the problem it appears they changed a NetBeans setting.  Specifically, they changed the "console type:" setting from "external terminal" to "output window" and the problem disappeared.

So now I'm wondering if there is an analogous setting in Code::Blocks?  I'm pretty new to this application and haven't been able to find such a setting.  I also wondered if this might be a command you pass to gdb somehow but haven't found any likely candidates.

V/R
Adam

Navigation

[0] Message Index

[#] Next page

Go to full version