This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [rfc][patch] Eliminate quadratic slow-down on number of solibs.


> 2009-05-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
> 
> 	* breakpoint.h: Add breakpoint_re_set_objfile prototype.
> 
> 	* breakpoint.c (create_overlay_event_breakpoint): Renamed
> 	from create_overlay_event_breakpoint_1, old
> 	create_overlay_event_breakpoint deleted.
> 	(breakpoint_re_set_objfile): Don't rescan all objfiles
> 	unnecessarily.
> 	(breakpoint_re_set): New function.
> 
> 	* symfile.c (new_symfile_objfile): Call breakpoint_re_set_objfile
> 	instead of breakpoint_re_set.
> 
> 	* objfiles.c (objfile_relocate): Likewise.

Looks good. Just a tiny formatting remark in your ChangeLog: A new line
should be used I think only when the changes are logically unrelated.

-- 
Joel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]