strange behaviour -- gdbtk & stdin on winxp
James Lemke
jim@TheLemkes.ca
Fri Apr 15 20:36:00 GMT 2005
I did some searching on the archives but didn't find anything similar.
I'm using xscale-elf-insight.exe built from 6.1 sources, serially
connected to an xscale board. I'm debugging a simple program that reads
a string via fgets((char *)input_char, MAX_INPUT_LINE, stdin).
All works as expected with xscale-elf-gdb or xscale-elf-insight -nw.
But with the GUI, fgets() returns immediately with NULL, and errno set
to 9 (EBADF).
When built for a Linux host, xscale-elf-insight with and without -nw
work fine.
Does this problem sound familiar to anyone?
Jim.
--
James Lemke jim@TheLemkes.ca Orillia, Ontario
1992 ST1100, STOC #3750; FWD# M:245401 H:246889
Life is what happens while you're busy making other plans. --John Lennon
More information about the Gdb
mailing list