public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* strange behaviour -- gdbtk & stdin on winxp
@ 2005-04-15 20:36 James Lemke
  2005-04-15 20:50 ` Keith Seitz
  0 siblings, 1 reply; 6+ messages in thread
From: James Lemke @ 2005-04-15 20:36 UTC (permalink / raw)
  To: gdb

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-04-18 17:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-15 20:36 strange behaviour -- gdbtk & stdin on winxp James Lemke
2005-04-15 20:50 ` Keith Seitz
2005-04-15 21:13   ` James Lemke
2005-04-18 14:55   ` James Lemke
2005-04-18 16:17     ` Dave Korn
2005-04-18 17:47       ` James Lemke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).