[RFA 2/7 take 2] API for inhibiting section map updates

Tom Tromey tromey@redhat.com
Fri May 24 14:18:00 GMT 2013


>>>>> "Gary" == Gary Benson <gbenson@redhat.com> writes:

Gary> 2013-05-23  Gary Benson  <gbenson@redhat.com>

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

Ok.

Tom



More information about the Gdb-patches mailing list