diff options
author | Tom Tromey <tromey@redhat.com> | 2012-07-23 14:58:44 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2012-07-23 14:58:44 +0000 |
commit | 8ac244b433d5d36b787afd36f7144069e7d837e0 (patch) | |
tree | dccbc64cbec657281a84c4d8e07d96df3e508661 /gdb/solib.c | |
parent | 64c311498e46cef6b70aa88577e7d7c382e0f7cc (diff) | |
download | binutils-8ac244b433d5d36b787afd36f7144069e7d837e0.zip binutils-8ac244b433d5d36b787afd36f7144069e7d837e0.tar.gz binutils-8ac244b433d5d36b787afd36f7144069e7d837e0.tar.bz2 |
* coffread.c (coff_symfile_read): Make a cleanup for 'debugfile'
and 'abfd'.
* elfread.c (elf_symfile_read): Make a cleanup for 'debugfile'
and 'abfd'.
* jit.c (jit_bfd_try_read_symtab): Make a cleanup for 'nbfd'.
* machoread.c (macho_add_oso_symfile): Make a cleanup for
'abfd'.
(macho_symfile_read): Make a cleanup for 'dsym_bfd'.
* objfiles.c (allocate_objfile): Acquire a new reference.
* rs6000-nat.c (add_vmap): Don't acquire a BFD reference.
* solib.c (solib_read_symbols): Don't acquire a BFD reference.
* spu-linux-nat.c (spu_symbol_file_add_from_memory): Make
a cleanup for 'nbfd'.
* symfile-mem.c (symbol_file_add_from_memory): Make a cleanup
for 'nbfd'.
* symfile.c (symbol_file_add_with_addrs_or_offsets): Don't
make a cleanup for 'abfd'.
(symbol_file_add): Make a BFD cleanup.
Diffstat (limited to 'gdb/solib.c')
-rw-r--r-- | gdb/solib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c index 9779e10..73773f1 100644 --- a/gdb/solib.c +++ b/gdb/solib.c @@ -610,7 +610,6 @@ solib_read_symbols (struct so_list *so, int flags) sap = build_section_addr_info_from_section_table (so->sections, so->sections_end); - gdb_bfd_ref (so->abfd); so->objfile = symbol_file_add_from_bfd (so->abfd, flags, sap, OBJF_SHARED, NULL); |