diff options
author | Tom Tromey <tom@tromey.com> | 2017-10-08 13:29:18 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2017-10-08 23:22:58 -0600 |
commit | 791afaa233ca9f4baa59aa16062296a00aa2c4da (patch) | |
tree | 3856f981c8cb7565976a5c1527c8a69b1c645d93 /gas | |
parent | 30a9c02feff56bd58a276c2a7262f364baa558ac (diff) | |
download | fsf-binutils-gdb-791afaa233ca9f4baa59aa16062296a00aa2c4da.zip fsf-binutils-gdb-791afaa233ca9f4baa59aa16062296a00aa2c4da.tar.gz fsf-binutils-gdb-791afaa233ca9f4baa59aa16062296a00aa2c4da.tar.bz2 |
Remove some cleanups from dwarf2read.c
This removes a number of cleanups from dwarf2read.c in a
straightforward way.
Note that some places in dwarf2read create dangling cleanups. I don't
believe any of the changes in this patch interact with those spots.
Regression tested by the buildbot.
gdb/ChangeLog
2017-10-08 Tom Tromey <tom@tromey.com>
* dwarf2read.c (dwarf2_get_dwz_file): Use
gdb::unique_xmalloc_ptr.
(find_slot_in_mapped_hash): Likewise.
(dwarf2_physname): Likewise.
(create_dwo_unit_in_dwp_v1): Use std::string.
(create_dwo_unit_in_dwp_v2): Likewise.
(lookup_dwo_cutu): Likewise.
(inherit_abstract_dies): Use std::vector.
(read_array_type): Likewise.
(dwarf_decode_macros): Remove unused declaration.
(unsigned_int_compar): Remove.
(dwarf2_build_psymtabs_hard): Use scoped_restore.
(psymtabs_addrmap_cleanup): Remove.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions