This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
RE: [PATCH]Fix that GDB will get hang on Windows when using pipe to get stdout and stderr from stub
- From: "Terry Guo" <terry dot guo at arm dot com>
- To: "'Eli Zaretskii'" <eliz at gnu dot org>
- Cc: <gdb-patches at sourceware dot org>
- Date: Mon, 16 Jul 2012 14:08:32 +0800
- Subject: RE: [PATCH]Fix that GDB will get hang on Windows when using pipe to get stdout and stderr from stub
- References: <000001cd5338$ded61b20$9c825160$%guo@arm.com> <83hatw8zn1.fsf@gnu.org> <000301cd59bd$ce1c8900$6a559b00$%guo@arm.com> <000101cd5f22$2371cdc0$6a556940$%guo@arm.com> <83k3yab0x6.fsf@gnu.org> <000301cd5fcf$838d31b0$8aa79510$%guo@arm.com> <83ehohblor.fsf@gnu.org>
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