[patch] objfile_relocate: Call breakpoint_re_set on-demand
Tom Tromey
tromey@redhat.com
Mon Jan 11 17:58:00 GMT 2010
>>>>> "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
More information about the Gdb-patches
mailing list