This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
pushed: [RFA/commit] [gdbserver/lynx] spurious failure to write in inferior memory
- From: Joel Brobecker <brobecker at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Mon, 17 Nov 2014 07:24:49 +0400
- Subject: pushed: [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> <54663811 dot 5000000 at redhat dot com>
> > 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 for taking a look, Pedro. I just pushed the patch.
--
Joel