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 | 612c29ac072387bbddc9b0f4321353b929d5737b (patch) | |
tree | 9284147da7e4c4b2374077bc9023717e9acc3502 /gdb/rs6000-nat.c | |
parent | 8b3d8cbf611383b5759061e49521fb3cd83d4a71 (diff) | |
download | gdb-612c29ac072387bbddc9b0f4321353b929d5737b.tar.gz |
* 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/rs6000-nat.c')
-rw-r--r-- | gdb/rs6000-nat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/rs6000-nat.c b/gdb/rs6000-nat.c index 140012bbebc..8c3f54606f2 100644 --- a/gdb/rs6000-nat.c +++ b/gdb/rs6000-nat.c @@ -798,7 +798,6 @@ add_vmap (LdInfo *ldi) gdb_bfd_unref (abfd); return NULL; } - gdb_bfd_ref (vp->bfd); obj = allocate_objfile (vp->bfd, 0); vp->objfile = obj; |