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: branching for GDB 7.11 soon? (possibly Wed)


On 02/08/2016 07:28 PM, Keith Seitz wrote:

> I looked at this over the weekend and updated the bz. It seems pretty
> trivial, and the patch is very safe to use.
> 
> In short, update_breakpoints_after_exec is charged with deleting any
> breakpoint with no location. momentary_breakpoint types were implemented
> to rely on this behavior. So b->location can be NULL, contrary to what I
> previously assumed.
> 
> Simply handling NULL in location_empty_p fixes this.
> 
> Writing a test for this now.

Thanks Keith.  Having the testsuite cover this would be great.

BTW, calling both b->location and the b->loc things "locations"
is ambiguous and confusing, IMO.  How about we start calling
the new b->location, the "location spec" ?

Thanks,
Pedro Alves


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