2013-06-04 Gary Benson <gbenson@redhat.com>
authorGary Benson <gary@redhat.com>
Tue, 4 Jun 2013 12:53:34 +0000 (12:53 +0000)
committerGary Benson <gary@redhat.com>
Tue, 4 Jun 2013 12:53:34 +0000 (12:53 +0000)
commit607ece04f463f66121834ffef3484d942c7c91da
treea668c538c435c6db0db4a7142d699bad18c622a6
parent9ee6a5acd5d83655e5af4a79c83f31dfce0a2a8e
2013-06-04  Gary Benson  <gbenson@redhat.com>

* objfiles.h (inhibit_section_map_updates): New function
declaration.
(resume_section_map_updates): Likewise.
(resume_section_map_updates_cleanup): Likewise.
* objfiles.c (objfile_pspace_info): Removed field
"objfiles_changed_p".  New fields "new_objfiles_available",
"section_map_dirty" and "inhibit_updates".
(allocate_objfile): Set new_objfiles_available.
(free_objfile): Set section_map_dirty.
(objfile_relocate1): Likewise.
(in_plt_section): Likewise.
(find_pc_section): Update the conditions under which the
section map will be updated.
(inhibit_section_map_updates): New function.
(resume_section_map_updates): Likewise.
(resume_section_map_updates_cleanup): Likewise.
gdb/ChangeLog
gdb/objfiles.c
gdb/objfiles.h