Use gdb::byte_vector when reading section data
authorTom Tromey <tom@tromey.com>
Fri, 9 Mar 2018 05:28:54 +0000 (22:28 -0700)
committerTom Tromey <tom@tromey.com>
Mon, 12 Mar 2018 14:24:17 +0000 (08:24 -0600)
commit984c72381ccd9f950a87d4d7edecc6fa30db8b41
treea47a0e379f40b237f29c9ad4fa342d93993707b8
parent933522d1dbc9162fbc69453f0ab5f72998df2955
Use gdb::byte_vector when reading section data

This changes a couple of spots that read section data to use
gdb::byte_vector rather than a cleanup.

Regression tested by the buildbot.  I am not certain that the buildbot
actually tests the code in question, so I recommend careful review.

gdb/ChangeLog
2018-03-12  Tom Tromey  <tom@tromey.com>

* rs6000-aix-tdep.c (rs6000_aix_core_xfer_shared_libraries_aix):
Use gdb::byte_vector.
* arm-tdep.c (arm_exidx_new_objfile): Use gdb::byte_vector.
gdb/ChangeLog
gdb/arm-tdep.c
gdb/rs6000-aix-tdep.c
This page took 0.028535 seconds and 4 git commands to generate.