From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 325 invoked by alias); 11 May 2005 14:21:30 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 31991 invoked from network); 11 May 2005 14:21:07 -0000 Received: from unknown (HELO shoal.thelemkes.ca) (66.96.18.66) by sourceware.org with SMTP; 11 May 2005 14:21:07 -0000 Received: from [192.168.62.32] (keel.thelemkes.ca [192.168.62.32]) by shoal.thelemkes.ca (Postfix) with ESMTP id DEDB420167 for ; Wed, 11 May 2005 10:21:06 -0400 (EDT) Subject: Re: RFC: patch for insight & target stdin From: James Lemke To: insight@sourceware.org In-Reply-To: <42820FE7.8020702@redhat.com> References: <1115757946.24600.25.camel@keel.thelemkes.ca> <42820FE7.8020702@redhat.com> X-UID: 2085 X-Keywords: Content-Type: text/plain Message-Id: <1115821266.24600.32.camel@keel.thelemkes.ca> Mime-Version: 1.0 Date: Wed, 11 May 2005 14:21:00 -0000 Content-Transfer-Encoding: 7bit X-SW-Source: 2005-q2/txt/msg00023.txt.bz2 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