This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] objfile_relocate: Call breakpoint_re_set on-demand
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 11 Jan 2010 10:58:20 -0700
- Subject: Re: [patch] objfile_relocate: Call breakpoint_re_set on-demand
- References: <20100110233410.GC1435@host0.dyn.jankratochvil.net>
- Reply-to: tromey at redhat dot com
>>>>> "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