[PATCH]Fix that GDB will get hang on Windows when using pipe to get stdout and stderr from stub

Terry Guo terry.guo@arm.com
Mon Jul 16 06:08:00 GMT 2012


Here are the ChangeLog:

2012-07-16  Terry Guo  <terry.guo@arm.com>

        * defs.h (GDB_MI_MSG_WIDTH): New.
        * ser_base (ser_base_read_error_fd): New function.
        (do_ser_base_readchar): Poll error file descriptor as well as
        standard output.
        (generic_readchar): Refactor error handling.

BR,
Terry

> -----Original Message-----
> From: Terry Guo [mailto:terry.guo@arm.com]
> Sent: Monday, July 16, 2012 1:52 PM
> To: Eli Zaretskii
> Cc: gdb-patches@sourceware.org
> Subject: RE: [PATCH]Fix that GDB will get hang on Windows when using
> pipe to get stdout and stderr from stub
> 
> Hi Eli,
> 
> >
> > Thanks.  These are all no-brainers, so I think the patch is still
> good
> > to go in.
> 
> Sorry to bother you again. I realized I haven't gdb write permission.
> Could you please help me to commit it at your convenient time? The
> attachment is the patch against the latest gdb trunk.
> 
> BR,
> Terry




More information about the Gdb-patches mailing list