Re: "target remote | " stderr

Vladimir Prus
2007-02-17T07:35:45Z

Eli Zaretskii wrote:

>> 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.

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