This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 1/2] Simplify write_inferior_memory
On Wed, 14 Aug 2019 10:48:13 -0600
Tom Tromey <tromey@adacore.com> wrote:
> gdbserver's write_inferior_memory uses a static variable to avoid
> memory leaks, and has a comment referring to the lack of cleanups.
> This patch removes this comment and the code in favor of a
> straightforward use of std::vector.
>
> gdb/gdbserver/ChangeLog
> 2019-08-14 Tom Tromey <tromey@adacore.com>
>
> * target.c (write_inferior_memory): Use std::vector.
LGTM.
Kevin