This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [rfc] Fix removing breakpoint from shared library race
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: brobecker at adacore dot com (Joel Brobecker)
- Cc: gdb-patches at sourceware dot org
- Date: Wed, 10 Sep 2008 00:31:10 +0200 (CEST)
- Subject: Re: [rfc] Fix removing breakpoint from shared library race
Joel Brobecker wrote:
> > This is the situation that my patch attempts to address, by having the
> > remove_breakpoints not fail. At some later point, either when GDB
> > actually gets to process the solib event, or when GDB tries to
> > re-insert the breakpoints, GDB will properly recognize that the
> > library has been unloaded and sets the state to solib_disabled.
>
> Just wanted to let you know that you patch makes complete sense to me.
> As you pointed out in your first message, this is in fact very similar
> to what we do in insert_bp_location.
Thanks for looking at this patch!
Bye,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com