Re: [PATCH] Unbreak DJGPP port of GDB

Yao Qi
2015-05-28T08:47:08Z

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.

>
> 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.

--
Yao (齐尧)