diff options
author | Tom Tromey <tom@tromey.com> | 2018-03-16 16:44:01 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-03-23 10:04:57 -0600 |
commit | 2cc9b3048bcbb827e69059fb6beacb9bccbc5d7c (patch) | |
tree | 002c28b7d0cbfed89b5206d21bc5e3f2cb6e9408 /gold/plugin.h | |
parent | dff7492c9b221aacd4efa6675bb288dfb5d50f80 (diff) | |
download | gdb-2cc9b3048bcbb827e69059fb6beacb9bccbc5d7c.zip gdb-2cc9b3048bcbb827e69059fb6beacb9bccbc5d7c.tar.gz gdb-2cc9b3048bcbb827e69059fb6beacb9bccbc5d7c.tar.bz2 |
Change machoread.c to use std::vector
This changes machoread.c to use std::vector rather than VEC. This
allows removing some cleanups.
Regression tested by the buildbot, though I don't think anything
actually tests macho reading.
gdb/ChangeLog
2018-03-23 Tom Tromey <tom@tromey.com>
* machoread.c (struct oso_el): Add a constructor. Don't define as
a typedef.
(macho_register_oso): Remove.
(macho_symtab_read): Take a std::vector.
(oso_el_compare_name): Now a std::sort comparator.
(macho_symfile_read_all_oso): Take a std::vector.
(macho_symfile_read): Use std::vector. Remove cleanups.
Diffstat (limited to 'gold/plugin.h')
0 files changed, 0 insertions, 0 deletions