gdb and isatty

Ian Collins
Mon Feb 8 16:05:00 GMT 1999

isatty always returns 0 when running in a program under GDB.

I use isatty to determine whther I am in batch or interactive. Otherwise
ioctl calls fail.

Has anyone experienced this?
Does anyone have another version of GDB that allows attaching to processes?

I am running B20.1.

Many regards,
Ian Collins.

Want to unsubscribe from this list?                             
Send a message to

More information about the Cygwin mailing list