This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA 2/7 take 2] API for inhibiting section map updates
- From: Tom Tromey <tromey at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 24 May 2013 08:18:33 -0600
- Subject: Re: [RFA 2/7 take 2] API for inhibiting section map updates
- References: <20130516144340 dot GA2105 at blade dot nx> <20130516144813 dot GC2105 at blade dot nx> <87mwrpohnv dot fsf at fleche dot redhat dot com> <20130524074737 dot GB4602 at blade dot nx>
>>>>> "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