diff options
author | Tom Tromey <tromey@adacore.com> | 2019-08-14 09:11:28 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2019-08-15 07:42:21 -0600 |
commit | c6778d00df0fbc7fe53801717eb934a5d7b9674a (patch) | |
tree | 97a12845481ffc66f619df16df190856b2e2a988 /gdb/gdbserver/ChangeLog | |
parent | 9177214a228f7d0eb8543725287a6163993fbebf (diff) | |
download | gdb-c6778d00df0fbc7fe53801717eb934a5d7b9674a.zip gdb-c6778d00df0fbc7fe53801717eb934a5d7b9674a.tar.gz gdb-c6778d00df0fbc7fe53801717eb934a5d7b9674a.tar.bz2 |
Simplify write_inferior_memory
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-15 Tom Tromey <tromey@adacore.com>
* target.c (write_inferior_memory): Use std::vector.
Diffstat (limited to 'gdb/gdbserver/ChangeLog')
-rw-r--r-- | gdb/gdbserver/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 2dda352..e4ad220 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,7 @@ +2019-08-15 Tom Tromey <tromey@adacore.com> + + * target.c (write_inferior_memory): Use std::vector. + 2019-08-06 Frank Ch. Eigler <fche@redhat.com> PR build/24886 |