[RFA/commit] [gdbserver/lynx] spurious failure to write in inferior memory

Pedro Alves palves@redhat.com
Fri Nov 14 17:12:00 GMT 2014


On 11/14/2014 04:51 PM, Joel Brobecker wrote:

> 
> gdb/gdbserver/ChangeLog:
> 
>         * lynx-low.c (lynx_write_memory): Put lynx_read_memory and
>         corresponding ERRNO check in same block.

Eh.

> One wonders how we got lucky for so long. In any case, tested on
> ppc-lynx5 and ppc-lynx178 using AdaCore's testsuite. It's a fairly
> obvious fix to me, but I will let it sit for a few days... or an
> approval ;-).

Looks obvious to me.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list