Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] DSF gdb: Unresolved breakpoint freezes application

Most credit for Pawel, who suggested a much nicer solution
using DSF's Sequence RollBack feature. 

Axel, I'm glad you found this before the release!

Thanks


> -----Original Message-----
> From: cdt-dev-bounces@xxxxxxxxxxx 
> [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Axel Müller
> Sent: Friday, May 28, 2010 3:12 PM
> To: CDT General developers list.
> Subject: Re: [cdt-dev] DSF gdb: Unresolved breakpoint freezes 
> application
> 
> Wow, you're really fast Marc. I just wanted to apply your 
> first patch but then  
> my CVS update was faster! And the best thing: the bug is 
> fixed. I just tried. 
> Thanks a lot.
> 
>    Axel
> 
> > I've posted a prototype fix to the bug.  If you want to 
> give it a spin. 
> > But I do have to run more tests on it.
> > 
> > > The bug is much worse. It seems that whenever gdb gives 
> an error DSF-GDB
> > > does not recover. I just stumbled across this while 
> stepping through
> > > some code with Qt: 354,429 49-data-evaluate-expression --thread 1
> > > --frame 0 QString 354,431 49^error,msg="cannot resolve 
> overloaded method
> > > `QString': no arguments supplied"
> > 
> > If you can still see the above with the patch I posted, 
> pleasepost the full
> > traces to the bug and how you got there. It must be that 
> DSF-GDB was in a
> > bad state because of the breakpoint problem, so the patch 
> should fix this
> > too.
> > 
> > Thanks
> > 
> > Marc
> > ________________________________________
> > From: cdt-dev-bounces@xxxxxxxxxxx 
> [cdt-dev-bounces@xxxxxxxxxxx] On Behalf
> > Of Axel Müller [aegges@xxxxxx] Sent: May 28, 2010 5:58 AM
> > To: CDT General developers list.
> > Subject: RE: [cdt-dev] DSF gdb: Unresolved breakpoint 
> freezes application
> > 
> > The bug is much worse. It seems that whenever gdb gives an 
> error DSF-GDB
> > does not recover. I just stumbled across this while 
> stepping through some
> > code with Qt: 354,429 49-data-evaluate-expression --thread 
> 1 --frame 0
> > QString
> > 354,431 49^error,msg="cannot resolve overloaded method `QString': no
> > arguments supplied"
> > 
> > 
> > After this nothing works anymore.
> > 
> >   Axel
> > 
> > >My fault.  When adding support for setting a breakpoint 
> while the target
> > >is running https://bugs.eclipse.org/bugs/show_bug.cgi?id=242943
> > >
> > >I forgot the fact that the breakpoint installation can 
> 'fail' in cases
> > >where the file is not part of the program, so DSF-GDB does 
> not recover
> > >
> > >well.
> > >
> > >
> > >
> > >I'll post a fix to the bug you opened.
> > >
> > >
> > >
> > >Thanks for finding this.
> > >
> > >
> > >
> > >Marc
> > >
> > >
> > >
> > >
> > >
> > >________________________________________
> > >
> > >From: cdt-dev-bounces@xxxxxxxxxxx 
> [cdt-dev-bounces@xxxxxxxxxxx] On Behalf
> > >Of Axel Müller [aegges@xxxxxx]
> > >
> > >Sent: May 28, 2010 3:40 AM
> > >
> > >To: cdt-dev@xxxxxxxxxxx
> > >
> > >Subject: [cdt-dev] DSF gdb: Unresolved breakpoint freezes 
> application
> > >
> > >
> > >
> > >Hi,
> > >
> > >
> > >
> > >I found IMHO a serious bug in the gdb backend of DSF (see
> > >https://bugs.eclipse.org/bugs/show_bug.cgi?id=314628). 
> When I create a
> > >breakpoint in a source file that does not belong to the 
> application that
> > >is currently debugged gdb will report an error and remain 
> in some kind of
> > >freeze state. The application freezes as well.
> > >
> > >
> > >
> > >I have attached a simple test case projectto the bug report  to
> > >demonstrate the bug. I would be happy if someone could 
> have a look at it.
> > >In my opinion this bug makes it impossible to debug more than one
> > >application at once. A not uncommon scenario in Makefile projects.
> > >
> > >  Axel
> > >
> > >___________________________________________________________
> > >
> > >NEU: WEB.DE DSL für 19,99 EUR/mtl. und ohne Mindest-Laufzeit!
> > >
> > >http://produkte.web.de/go/02/
> > >
> > >_______________________________________________
> > >
> > >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-dev354,429
> > >49-data-evaluate-expression --thread 1 --frame 0 QString
> > 
> > 354,431 49^error,msg="cannot resolve overloaded method `QString': no
> > arguments supplied"354,429 49-data-evaluate-expression 
> --thread 1 --frame
> > 0 QString 354,431 49^error,msg="cannot resolve overloaded method
> > `QString': no arguments supplied" 354,429 
> 49-data-evaluate-expression
> > --thread 1 --frame 0 QString
> > 354,431 49^error,msg="cannot resolve overloaded method `QString': no
> > arguments supplied"
> > ___________________________________________________________
> > GRATIS für alle WEB.DE Nutzer: Die maxdome Movie-FLAT!
> > Jetzt freischalten unter http://movieflat.web.de
> > _______________________________________________
> > 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