Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] [DSF-GDB] Pending breakpoint support

I have committed the pending breakpoint solution for DSF-GDB.
It works for GDB >= 6.8

But now that we set pending breakpoints automatically, I was 
thinking that we may want this to also work when the user 
sets a breakpoint from the gdb console.

We can do this by using "set breakpoint pending on".

Note that CDI does not do this.  Consequently, if a user sets
a breakpoint in a dll using the console, it will not get set
if the dll is not loaded yet.

Anyone think this is a good idea?

Thanks

Marc


> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Marc Khouzam
> Sent: Saturday, August 21, 2010 11:17 PM
> To: CDT General developers list.
> Subject: RE: [cdt-dev] [DSF-GDB] Pending breakpoint support
> 
> I have posted a partial fix to the bug 
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=248595
> 
> With that partial fix, when using GDB >=6.8, DSF-GDB will set 
> pending breakpoints properly.
> 
> I say the fix is 'partial' because any breakpoint that does 
> not install right away (pending) will never 
> be marked as installed, even if it actually interrupts the 
> execution.  The solution to this was discussed in the
> bug, but requires more time, which I don't personally have.  
> If anyone wants to take care of
> that, I'll review it.
> 
> Note also that with this solution, there would no longer be a 
> warning marker when a breakpoint 
> does not install properly.  That means that breakpoints of 
> another eclipse project will no
> longer show a warning, but simply won't show as installed.  
> We could choose to
> still show a warning, maybe with explanatory text, but I 
> wasn't sure what was
> more user-friendly.
> 
> I think this solution, although partial, is an improvement on 
> the current situation, and therefore worth
> committing.  But I'll wait to see if anyone disagrees.
> 
> Marc
> 
> ________________________________________
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Doug Schaefer 
> [cdtdoug@xxxxxxxxx]
> Sent: August 20, 2010 2:25 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] [DSF-GDB] Pending breakpoint support
> 
> +1. This is definitely not minor, at least for the community.
> 
> On Fri, Aug 20, 2010 at 2:20 PM, Andy Jin <ajin@xxxxxxx> wrote:
> > Just wondering what's the plan for pending breakpoint support in
> > DSF-GDB?
> >
> > I see it is still listed as one missing feature parity with 
> CDI but it's
> > listed under the "minor" section
> > (http://wiki.eclipse.org/CDT/cdt-debug-feature-parity-effort).
> >
> > Without this feature we can't debug share library which is 
> not loaded at
> > program startup; and this (supposed) is a pretty common requirement.
> >
> > >From this point on this bug should not be considered minor, am I
> > correct?
> >
> > Thanks,
> > Andy
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> >
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev______________
> _________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

Back to the top