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.


On Mon, Jun 22, 2009 at 1:06 PM, Ulrich Weigand<uweigand@de.ibm.com> wrote:

>> Perhaps a better alternative is to restore the overlay-bp-reset behavior to
>> "before 2009-05-12" commit: now that this change is in:

Here is the patch to do that.

Tested on Linux/x86_64.

I also verified that create_overlay_event_breakpoint is not called for
each solib (though it is called 7 times, which seems like 6 too many).

Thanks,
-- 
Paul Pluzhnikov

2009-06-22  Paul Pluzhnikov  <ppluzhnikov@google.com>

	Revert 2009-05-14 breakpoint commit (no longer needed).
	* breakpoint.h (breakpoint_re_set_objfile): Remove
	* breakpoint.c (breakpoint_re_set_objfile): Likewise
	(create_overlay_event_breakpoint_1): Resurrect.
	(create_overlay_event_breakpoint): Likewise.
	* objfiles.c (objfile_relocate): Update.
	* symfile.c (new_symfile_objfile): Likewise.

Attachment: gdb-overlay-bp-20090622-2.txt
Description: Text document


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