Remove cleanups from coff-pe-read.c
authorTom Tromey <tom@tromey.com>
Fri, 25 May 2018 04:32:24 +0000 (22:32 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 25 May 2018 15:08:14 +0000 (09:08 -0600)
commit3173aa2fc212389268f76433e70b35116a936a8d
tree868bdf057efed147249f947de3bf990831d79292
parent09a5e1b570eefbc029939fd43c99152996060d95
Remove cleanups from coff-pe-read.c

This removes cleanups from coff-pe-read.c, using std::string,
std::vector, and gdb::def_vector.

Tested by the buildbot, though I'm not sure these code paths are
exercised there.

ChangeLog
2018-05-25  Tom Tromey  <tom@tromey.com>

* coff-pe-read.c (struct read_pe_section_data) <section_name>: Now
a std::string.
(get_pe_section_index, add_pe_exported_sym): Update.
(read_pe_exported_syms): Use gdb::def_vector.
gdb/ChangeLog
gdb/coff-pe-read.c
This page took 0.024948 seconds and 4 git commands to generate.