X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Fri, 6 Nov 2009 11:17:33 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Redirecting stdin under gdb Message-ID: <20091106161733.GA6579@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4AF3751D DOT 40504 AT gmail DOT com> <20091106012852 DOT GA3478 AT ednor DOT casa DOT cgf DOT cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Fri, Nov 06, 2009 at 03:40:26PM +0000, Joe Crepeau wrote: >> cgf wrote: >> On Fri, Nov 06, 2009 at 01:00:13AM +0000, Dave Korn wrote: >> >Joe Crepeau wrote: >> >>I sent this out a few days ago and got no reply. Does anybody have a >> >>response to this? >> > >> >It's never worked for me either, and now thanks to you I know exactly >> >why, but I don't have any answer(*). Sorry. >> >>I somehow missed the original message. >> >>The problem has not been fixed. It is exactly what was mentioned. I >>do have the beginnings of a fix in gdb already. > >That's good news. Do you have an estimate for when this will be >finished? Is there a work-around in the meantime? No, I have no ETA. Sorry. I'm trying to get gdb 7.0 released currently and I don't want to make any more modifications right now. As for a workaround, you can either build a debugging version of the Cygwin DLL and then set "CYGWIN_DEBUG=yourprogram.exe" or you could modify your program to wait a few seconds before it starts and then attach to it with gdb. Also, PLEASE don't include the full header of the message you're replying to in the body of the message. It is pointless duplication. In particular: http://cygwin.com/acronyms/#PCYMTNQREAIYR cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple