This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA/commit] [gdbserver/lynx] spurious failure to write in inferior memory
- From: Pedro Alves <palves at redhat dot com>
- To: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Fri, 14 Nov 2014 17:12:49 +0000
- Subject: Re: [RFA/commit] [gdbserver/lynx] spurious failure to write in inferior memory
- Authentication-results: sourceware.org; auth=none
- References: <1415983893-26935-1-git-send-email-brobecker at adacore dot com>
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