Simple cleanup removals in remote.c
authorTom Tromey <tom@tromey.com>
Thu, 12 Oct 2017 22:40:01 +0000 (16:40 -0600)
committerTom Tromey <tom@tromey.com>
Mon, 16 Oct 2017 22:10:20 +0000 (16:10 -0600)
commitb80406accc70791a1789e40f24d64161bc41de34
treed31665e079b2ddd3c2795a07e870b3dbc6876a42
parenta90ecff85af9d9275f540227825ba62bdafc976d
Simple cleanup removals in remote.c

This removes a few cleanups in remote.c using the usual techniques:
std::vector, unique_xmalloc_ptr, and gdb::def_vector.

ChangeLog
2017-10-16  Tom Tromey  <tom@tromey.com>

* remote.c (remote_register_number_and_offset): Use std::vector.
(remote_set_syscall_catchpoint): Use gdb::unique_xmalloc_ptr.
(putpkt_binary): Use gdb::def_vector.
(compare_sections_command): Use gdb::byte_vector.
gdb/ChangeLog
gdb/remote.c