From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7539 invoked by alias); 5 Feb 2006 22:57:50 -0000 Received: (qmail 7531 invoked by uid 22791); 5 Feb 2006 22:57:50 -0000 X-Spam-Check-By: sourceware.org Received: from gandalf.inter.net.il (HELO gandalf.inter.net.il) (192.114.186.17) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 05 Feb 2006 22:57:50 +0000 Received: from nitzan.inter.net.il (nitzan.inter.net.il [192.114.186.20]) by gandalf.inter.net.il (MOS 3.7.1-GA) with ESMTP id HUE03179; Mon, 6 Feb 2006 00:57:46 +0200 (IST) Received: from HOME-C4E4A596F7 (IGLD-80-230-207-47.inter.net.il [80.230.207.47]) by nitzan.inter.net.il (MOS 3.7.3-GA) with ESMTP id CQD58576 (AUTH halo1); Mon, 6 Feb 2006 00:57:45 +0200 (IST) Date: Sun, 05 Feb 2006 22:57:00 -0000 Message-Id: From: Eli Zaretskii To: gdb-patches@sourceware.org In-reply-to: <20060205215036.GE4718@trixie.casa.cgf.cx> (message from Christopher Faylor on Sun, 5 Feb 2006 16:50:36 -0500) Subject: Re: RFA: Support Windows extended error numbers in safe_strerror Reply-to: Eli Zaretskii References: <200602032325.k13NPJ6g028001@elgar.sibelius.xs4all.nl> <20060203233935.GA13238@trixie.casa.cgf.cx> <20060204032730.GB9890@nevyn.them.org> <200602041435.k14EZ6NK016329@elgar.sibelius.xs4all.nl> <20060205001503.GB8728@trixie.casa.cgf.cx> <20060205193440.GB4718@trixie.casa.cgf.cx> <20060205202222.GB5574@nevyn.them.org> <20060205215036.GE4718@trixie.casa.cgf.cx> X-IsSubscribed: yes Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2006-02/txt/msg00112.txt.bz2 > Date: Sun, 5 Feb 2006 16:50:36 -0500 > From: Christopher Faylor > > I did try to implement this artifact in Cygwin once but I never got > it right. I once wrote code that did that for the DJGPP port. If someone is interested, I can tell where to find that (it's part of the DJGPP debug support library). It didn't support all the redirection features of the Posix shell, but that shouldn't be too hard to add, I think. Some of the code there (the juggling with standard handles when control jumps between GDB and the inferior) is not needed for Cygwin, I think.