2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
authorPaul Pluzhnikov <ppluzhnikov@google.com>
Sat, 22 Aug 2009 18:00:28 +0000 (18:00 +0000)
committerPaul Pluzhnikov <ppluzhnikov@google.com>
Sat, 22 Aug 2009 18:00:28 +0000 (18:00 +0000)
commitf93ea91d2653eedba305f6b092aeb251f582cbd2
tree0525afcc12ec9149f407278bf0758dae37af5a3a
parent64ac50ac862c415edda9c3532fb081c6a8b66262
2009-08-21  Paul Pluzhnikov  <ppluzhnikov@google.com>

* objfiles.h (gdb_bfd_ref): New prototype.
* objfiles.c (gdb_bfd_ref): New function.
(allocate_objfile): Call it.
(gdb_bfd_unref): Adjust assertion.
* solib.c (solib_map_sections): Add reference.
(symbol_add_stub): Don't add reference here.
* symfile.c (reread_symbols): Add reference.
gdb/ChangeLog