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: [patch] objfile_relocate: Call breakpoint_re_set on-demand


>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:

Jan> this is just a performance optimization to avoid some needless calls.

It seems reasonable enough to me.

Jan> 2010-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
Jan> 	* objfiles.c (objfile_relocate1): Change the return type to int.
Jan> 	Describe the new return value.  Return non-zero if data changed.
Jan> 	(objfile_relocate): New variable changed.  Set it.  Call
Jan> 	breakpoint_re_set depending on CHANGED.

Ok.

Tom


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