From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20991 invoked by alias); 30 May 2015 10:11:43 -0000 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 Received: (qmail 20980 invoked by uid 89); 30 May 2015 10:11:42 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout20.012.net.il Received: from mtaout20.012.net.il (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 30 May 2015 10:11:40 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NP500D00QG5X900@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Sat, 30 May 2015 13:11:36 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NP500DVVQZCJUB0@a-mtaout20.012.net.il>; Sat, 30 May 2015 13:11:36 +0300 (IDT) Date: Sat, 30 May 2015 10:11:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH] Unbreak DJGPP port of GDB In-reply-to: <83a8woydaj.fsf@gnu.org> To: qiyaoltc@gmail.com Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83twuuv0h4.fsf@gnu.org> References: <83zj4uypea.fsf@gnu.org> <86iobdozr0.fsf@gmail.com> <83a8woydaj.fsf@gnu.org> X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00735.txt.bz2 > Date: Thu, 28 May 2015 17:41:56 +0300 > From: Eli Zaretskii > Cc: gdb-patches@sourceware.org > > > From: Yao Qi > > Cc: gdb-patches@sourceware.org > > Date: Thu, 28 May 2015 09:46:59 +0100 > > > > Eli Zaretskii writes: > > > > > It turns out the DJGPP (a.k.a. "go32") port of GDB was broken more > > > than a year ago, by commits 9b40951 and bd265cd. It stayed broken > > > ever since. Lately, Andris Pavenis bisected the bug and posted the > > > results here: > > > > > > http://www.delorie.com/djgpp/mail-archives/browse.cgi?p=djgpp/2015/05/24/04:17:40 > > > > > > Looking into those changesets, I've found that the problem was due to > > > incorrect handling of values returned by functions 'read_child' and > > > 'write_child', which are part of the DJGPP native debug support. > > > > It is broken by my to_xfer_partial patches... sorry about that. > > No sweat. I should have been more vigilant in reviewing those patches > anyway. > > > > The patch below fixes that. I will push it in a few days (with an > > > appropriate ChangeLog entry), if no one objects. > > > > The patch looks right to me. > > Thanks. No further comments, so I pushed the changeset, bot to master and to the 7.9 branch.