This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH] Unbreak DJGPP port of GDB
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <qiyaoltc at gmail dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 28 May 2015 17:41:56 +0300
- Subject: Re: [PATCH] Unbreak DJGPP port of GDB
- Authentication-results: sourceware.org; auth=none
- References: <83zj4uypea dot fsf at gnu dot org> <86iobdozr0 dot fsf at gmail dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> From: Yao Qi <qiyaoltc@gmail.com>
> Cc: gdb-patches@sourceware.org
> Date: Thu, 28 May 2015 09:46:59 +0100
>
> Eli Zaretskii <eliz@gnu.org> 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.