From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31924 invoked by alias); 16 Jul 2012 06:08:00 -0000 Received: (qmail 31893 invoked by uid 22791); 16 Jul 2012 06:07:58 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,MSGID_MULTIPLE_AT,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO X-Spam-Check-By: sourceware.org Received: from service87.mimecast.com (HELO service87.mimecast.com) (91.220.42.44) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 16 Jul 2012 06:07:27 +0000 Received: from cam-owa1.Emea.Arm.com (fw-tnat.cambridge.arm.com [217.140.96.21]) by service87.mimecast.com; Mon, 16 Jul 2012 07:07:25 +0100 Received: from shawin053 ([10.164.2.89]) by cam-owa1.Emea.Arm.com with Microsoft SMTPSVC(6.0.3790.0); Mon, 16 Jul 2012 07:08:33 +0100 From: "Terry Guo" To: "'Eli Zaretskii'" Cc: 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> In-Reply-To: Subject: RE: [PATCH]Fix that GDB will get hang on Windows when using pipe to get stdout and stderr from stub Date: Mon, 16 Jul 2012 06:08:00 -0000 Message-ID: <000401cd6319$6ef9cf90$4ced6eb0$@guo@arm.com> MIME-Version: 1.0 X-MC-Unique: 112071607072503601 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes 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: 2012-07/txt/msg00203.txt.bz2 Here are the ChangeLog: 2012-07-16 Terry Guo * 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 >=20 > Hi Eli, >=20 > > > > Thanks. These are all no-brainers, so I think the patch is still > good > > to go in. >=20 > 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. >=20 > BR, > Terry