Remove cleanups from linux-tdep.c
authorTom Tromey <tom@tromey.com>
Thu, 2 Nov 2017 01:11:20 +0000 (19:11 -0600)
committerTom Tromey <tom@tromey.com>
Sat, 4 Nov 2017 16:27:19 +0000 (10:27 -0600)
commit9f584b37e36b67009fa23b6cffbec1bf691ef9ba
tree1460c0b0c5a8022c818a131c9e17b098358324c2
parent779bc38eca950c7f3b64173e99e25f0c0edfbe3b
Remove cleanups from linux-tdep.c

This removes some cleanups from linux-tdep.c, replacing them with
def_vector or byte_vector as appropriate.

gdb/ChangeLog
2017-11-04  Tom Tromey  <tom@tromey.com>

* linux-tdep.c (linux_core_info_proc_mappings): Use
gdb::def_vector.
(linux_get_siginfo_data): Return gdb::byte_vector.  Remove
"size" argument.
(linux_corefile_thread): Update.
(linux_make_corefile_notes): Remove unused variable.
gdb/ChangeLog
gdb/linux-tdep.c