From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 72971 invoked by alias); 28 May 2015 08:47:08 -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 72961 invoked by uid 89); 28 May 2015 08:47:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f47.google.com Received: from mail-pa0-f47.google.com (HELO mail-pa0-f47.google.com) (209.85.220.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 28 May 2015 08:47:06 +0000 Received: by padbw4 with SMTP id bw4so18650761pad.0 for ; Thu, 28 May 2015 01:47:04 -0700 (PDT) X-Received: by 10.70.138.70 with SMTP id qo6mr3375467pdb.163.1432802824693; Thu, 28 May 2015 01:47:04 -0700 (PDT) Received: from E107787-LIN (gcc1-power7.osuosl.org. [140.211.15.137]) by mx.google.com with ESMTPSA id d12sm1594854pbu.14.2015.05.28.01.47.02 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 28 May 2015 01:47:03 -0700 (PDT) From: Yao Qi To: Eli Zaretskii Cc: gdb-patches@sourceware.org Subject: Re: [PATCH] Unbreak DJGPP port of GDB References: <83zj4uypea.fsf@gnu.org> Date: Thu, 28 May 2015 08:47:00 -0000 In-Reply-To: <83zj4uypea.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 24 May 2015 18:19:09 +0300") Message-ID: <86iobdozr0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2015-05/txt/msg00675.txt.bz2 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=3Ddjgpp/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. > > 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. --=20 Yao (=E9=BD=90=E5=B0=A7)