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: delete_breakpoint: don't try to insert other breakpoints


> From: Vladimir Prus <vladimir@codesourcery.com>
> Date: Wed, 14 Nov 2007 23:24:10 +0300
> 
> The delete_breakpoint function tries to check if the
> breakpoint being deleted is inserted in inferior, and if
> so, searched for breakpoints that are set at the same address
> and tries to insert them.  However, GDB removes breakpoint
> from the inferior immediately when inferior is stopped,
> so this code will never run.

I think you are assuming that this code does and will always run
synchronously.  Is that a valid assumption?


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