diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-05-05 17:22:40 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-05-05 17:22:40 +0000 |
commit | 6f140a15a35d90cccc485451e2ecda586f23b4eb (patch) | |
tree | 8c2495ff57c0719bfb50f14ec8fe7160a7faf0fd /bfd/elf.c | |
parent | 01d9ad14d45872a6f97b7ca0599603cec06e1c63 (diff) | |
download | gdb-6f140a15a35d90cccc485451e2ecda586f23b4eb.zip gdb-6f140a15a35d90cccc485451e2ecda586f23b4eb.tar.gz gdb-6f140a15a35d90cccc485451e2ecda586f23b4eb.tar.bz2 |
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (_bfd_elf_close_and_cleanup): Only call
_bfd_dwarf2_cleanup_debug_info on bfd_object.
Diffstat (limited to 'bfd/elf.c')
-rw-r--r-- | bfd/elf.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6683,10 +6683,9 @@ _bfd_elf_close_and_cleanup (bfd *abfd) { if (elf_shstrtab (abfd) != NULL) _bfd_elf_strtab_free (elf_shstrtab (abfd)); + _bfd_dwarf2_cleanup_debug_info (abfd); } - _bfd_dwarf2_cleanup_debug_info (abfd); - return _bfd_generic_close_and_cleanup (abfd); } |