Use gdb::byte_vector in target_write_memory
authorTom Tromey <tromey@adacore.com>
Thu, 15 Aug 2019 17:23:13 +0000 (11:23 -0600)
committerTom Tromey <tromey@adacore.com>
Thu, 15 Aug 2019 17:24:22 +0000 (11:24 -0600)
commitd59b55f0952e95fdbec58021cecce85f4557b485
treeacbe5f6b118b2acb23844e556fea2a7b883e16e4
parent97dd8e07d998f5f0fcd0d06fd53e2ae9d337d222
Use gdb::byte_vector in target_write_memory

Pedro pointed out that target_write_memory should use gdb::byte_vector
rather than std::vector<unsigned char>.

gdb/gdbserver/ChangeLog
2019-08-15  Tom Tromey  <tromey@adacore.com>

* target.c (target_write_memory): Use gdb::byte_vector.
gdb/gdbserver/ChangeLog
gdb/gdbserver/target.c