Re: "target remote | " stderr

Eli Zaretskii
2007-02-11T20:24:14Z

> From: Vladimir Prus <ghost@cs.msu.su>
> 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.

> +#ifdef _WIN32

Won't this catch Cygwin as well? Do we want that?

Thanks.