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: [PATCH] Failure to stop at duplicate breakpoints


On Thursday, September 20 2012, Andrew Burgess wrote:

> When two breakpoints are created at the same location, one of them is
> marked as a duplicate.  When gdb inserts the breakpoints we only
> really insert one breakpoint at any unique location.
>
> By creating duplicate breakpoints and deleting or disabling them in
> the right order it is possible to get into a state where gdb has a
> single breakpoint with a single location, but that location is marked
> duplicate and so is never inserted, with the result we don't stop at
> the breakpoint.
>
> Patch and test included below.

Thanks for the patches, but your mail client messed with them, probably.
They are malformed in several places.

-- 
Sergio


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