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] 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


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