delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/24/11:00:56

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
Message-ID: <5561E7E5.9000309@gmx.de>
Date: Sun, 24 May 2015 17:01:57 +0200
From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)" <djgpp AT delorie DOT com>
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.13) Gecko/20101206 SUSE/3.1.7 Thunderbird/3.1.7
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: New GDB versions and DJGPP (Was: ANNOUNCE: DJGPP 2.05 beta 1)
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com> <555829A6 DOT 8010502 AT iki DOT fi> <CAA2C=vA73qPvoDFytp3FeW6bCD1-XuGsFFoDinoKn2KYY1fkow AT mail DOT gmail DOT com> <555870E8 DOT 7040302 AT iki DOT fi> <CAA2C=vDhD6BJj89o1i0FRd2U0H4bTpGGN4zH6qs7FJKxzqhuQg AT mail DOT gmail DOT com> <201505180114 DOT t4I1EiaX017288 AT envy DOT delorie DOT com> <CAA2C=vCyrQ_+Yq6XsRD-UO4r=j9WoGGiXoqQFrkbiEQpzX+=MA AT mail DOT gmail DOT com> <201505181216 DOT t4ICGaKO014123 AT envy DOT delorie DOT com> <CAA2C=vCk5MY74z+HNVzzdLByg71Y_9ObK-1jPxJ_KF8eqRDZMQ AT mail DOT gmail DOT com> <83zj52dkns DOT fsf AT gnu DOT org> <CAA2C=vAPcN+MKC_2tcZqVmo9gvF2Cxdo+K+-qfKaNrQuCkMnEw AT mail DOT gmail DOT com> <555A0DD5 DOT 1010607 AT iki DOT fi> <83r3qdemuj DOT fsf AT gnu DOT org> <555AADE6 DOT 3030905 AT iki DOT f> <83lhgkehn4 DOT fsf AT gnu DOT org> <201505191714 DOT t4JHEr0B010992 AT envy DOT delorie DOT com> <83vbfo7a74 DOT fsf AT gnu DOT org> <201505191729 DOT t4JHTIRe011541 AT envy DOT delorie DOT com> <83sias77km DOT fsf AT gnu DOT org> <555CFF9C DOT 1050301 AT gmx DOT de> <555D5E30 DOT 7020107 AT iki DOT fi> <83vbfl6hs9 DOT fsf AT gnu DOT org> <55618917.7@[87.69.4.28]> <83d21q1g6n DOT fsf AT gnu DOT org> <5561C8A0 DOT 2010401 AT gmx DOT de> <831ti611ly DOT fsf AT gnu DOT org>
In-Reply-To: <831ti611ly.fsf@gnu.org>
X-Provags-ID: V03:K0:w7gtJJzE8MlrMPCnREcOA42hfo0/SS5032gIYd2gM1bEHBmR+qu
HnZzfLU8T0KV/LymZ0w2NskOEGZwqTvBK63Cqg49EuK0OZDPVRfBiQKpZZCu3WpvGLbMQ8n
RlI6SIkjZbqthaZ6KCG3K/Zo1L6TuPL3R+4YMHwT8I5T2Pv35OkcgKnQbODCewdYoXUijR/
qGSVSFVEJjwQqXVN7D4WQ==
X-UI-Out-Filterresults: notjunk:1;
Reply-To: djgpp AT delorie DOT com

Am 24.05.2015 16:39, schrieb Eli Zaretskii (eliz AT gnu DOT org):
>> Date: Sun, 24 May 2015 14:48:32 +0200
>> From: "Juan Manuel Guerrero (juan DOT guerrero AT gmx DOT de)"<djgpp AT delorie DOT com>
>>
>>> Can you try the patch below?  If it fixes the problem, I will push it.
>>>
>>> diff --git a/gdb/go32-nat.c b/gdb/go32-nat.c
>>> index f3966cd..852473b 100644
>>> --- a/gdb/go32-nat.c
>>> +++ b/gdb/go32-nat.c
>>> @@ -587,6 +587,13 @@
>>>      else
>>>        res = read_child (memaddr, readbuf, len);
>>>
>>> +  /* read_child and write_child return zero on success, non-zero on
>>> +     failure; adjust the result value to that.  */
>>> +  if (res == 0)
>>> +    res = len;
>>> +  else
>>> +    res = -1;
>>> +
>>>      if (res<= 0)
>>>        return TARGET_XFER_E_IO;
>>>
>>
>> I have tried the patch with gdb 7.9.1 and djgpp support seems to work again.
>> Neitherless sometimes backtrace and finish behave strange.  Please give me
>> some time more to check.  Especially with djgpp 2.05.
>
> Thanks for testing.
>
> Is there a reason to withhold this patch?  The issues you describe are
> probably additional problems, unrelated to this one.
>
> But if you'd like me to wait, I will.

If you known that the issues are not related to each other then there is no reason to withhold the patch.
Plaes go ahead an commit the patch.

Regards,
Juan M. Guerrero

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019