OSDN Git Service

2009-08-21 Paul Pluzhnikov <ppluzhnikov@google.com>
authorppluzhnikov <ppluzhnikov>
Fri, 21 Aug 2009 17:57:17 +0000 (17:57 +0000)
committerppluzhnikov <ppluzhnikov>
Fri, 21 Aug 2009 17:57:17 +0000 (17:57 +0000)
commitb6f4cbe512800c5e236a971f0154bbd3a7655d55
treecf38aa4ed42bc72bc6439a525749954eac697068
parentb15f8959610a5f456c688e76e4467d32fc287952
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/objfiles.c
gdb/objfiles.h
gdb/solib.c
gdb/symfile.c