This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: How to get stderr to be displayed in the console


> 
> I'm using Insight 6.0 on Windows/Cygwin. I'm debugging a 
> program using the remote serial interface. Text sent to 
> stdout appears in the insight console window, but text sent 
> to stderr appears in the window of the shell that started 
> insight.

Similarly, stdin has to come from the shell rather than the Insight console.
Further, stdin and stderr only seem to work if CYGWIN=tty is set. If not,
then accessing stdin / stderr result in "Bad file number" errnos.

Setting CYGWIN=tty screws up output in console mode GDB.

Is this a bug or expected behaviour?

Cheers,
Jon



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]