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: RFC: patch for insight & target stdin


On Wed, 2005-05-11 at 10:00, Fernando Nasser wrote:
> Hi Jim,
> 
> The reason I left this out was because it breaks on Windows (Cygwin), at 
> least the code I had at the time broke with the Cygwin of that time...
> 
> We need someone to test this on a Windows machine and see what happens.
Hi Fernando.
Do you mean Cygwin native?  I did test on Cygwin x xscale-elf.

Jim.

> James Lemke wrote:
> > I had a customer complaint about insight, that target programs could
> > write to stdout but not read from stdin.  On Linux, stdout went to the
> > console window and stdin came from the launch shell.  On Windows stdout
> > went to the console window and stdin just failed with EBADF.
> > 
> > Apparently this was never implemented, so I made an attempt.  Reads from
> > stdin now come from the console window.  This has been tested with
> > x86-linux x xscale-elf and cygwin x xscale-elf.
> > 
> > I don't know gdb / gdbtk implementation well, so I'm open to comments.
> > 
> > Jim.

-- 
James Lemke   jim@wasabisystems.com   Orillia, Ontario
http://www.wasabisystems.com


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