From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27972 invoked by alias); 17 Feb 2007 07:35:45 -0000 Received: (qmail 27964 invoked by uid 22791); 17 Feb 2007 07:35:44 -0000 X-Spam-Check-By: sourceware.org Received: from zigzag.lvk.cs.msu.su (HELO zigzag.lvk.cs.msu.su) (158.250.17.23) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 17 Feb 2007 07:35:40 +0000 Received: from Debian-exim by zigzag.lvk.cs.msu.su with spam-scanned (Exim 4.50) id 1HIK6V-00027b-U7 for gdb-patches@sources.redhat.com; Sat, 17 Feb 2007 10:35:37 +0300 Received: from localhost ([127.0.0.1] helo=ip6-localhost) by zigzag.lvk.cs.msu.su with esmtp (Exim 4.50) id 1HIK6J-000273-D7; Sat, 17 Feb 2007 10:35:19 +0300 From: Vladimir Prus Subject: Re: "target remote | " stderr To: Eli Zaretskii , gdb-patches@sources.redhat.com Date: Sat, 17 Feb 2007 07:35:00 -0000 References: <200701261653.53834.vladimir@codesourcery.com> <20070126140028.GA29456@nevyn.them.org> <20070131144101.GA23780@nevyn.them.org> User-Agent: KNode/0.10.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Message-Id: Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2007-02/txt/msg00213.txt.bz2 Eli Zaretskii wrote: >> From: Vladimir Prus >> Date: Sun, 11 Feb 2007 19:55:03 +0300 >> >> --- gdb/serial.h (/mirrors/gdb_mainline) (revision 3417) >> +++ gdb/serial.h (/patches/gdb/remote_stderr_try2/gdb_mainline) (revision >> 3417) @@ -191,6 +191,12 @@ extern int serial_debug_p (struct serial >> struct serial >> { >> int fd; /* File descriptor */ >> + int error_fd; /* File descriptor for a separate >> + error stream that should be >> + immediately forwarded to gdb_stderr. >> + This may be -1. >> + If != -1, this descriptor should >> + be non-blocking. */ > > This comment isn't according to GNU coding standards, I think. Can you please be more specific? >> +#ifdef _WIN32 > > Won't this catch Cygwin as well? Do we want that? I would hope this won't catch cygwin, but I don't know. I'll check. - Volodya