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

Hi Marc,
>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.
Thanks. I will test it tonight (European time!) because I cannot compile CDT at my workplace. I test the new CDT version here if it is stable enough for daily work. 
>> 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.

I guess this is a different bug. Because the breakpoint was installed *before*  starting debugging! I just stepped through some code. I will try to reproduce it.

  Axel

>________________________________________

>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
___________________________________________________________
GRATIS fÃr alle WEB.DE Nutzer: Die maxdome Movie-FLAT!
Jetzt freischalten unter http://movieflat.web.de