[Qt-creator] QtCreator And GDB 7.0

Michael Krueger mickrulist at voipfuture.com
Tue Nov 3 11:27:40 CET 2009


Which means what is the solution when I need to debug my code?
Does it make sense to wait for gdb 7.1? When is that schedule to be released?
This is a real problem for my daily work ...

Michael

Rudenko Eugene schrieb:
> On 02.11.2009, at 22:20, Andre Poenitz wrote:
> 
>> On Mon, Nov 02, 2009 at 09:03:47PM +0300, Rudenko Eugene wrote:
>>> U updated my system from Ubuntu 9.04 to Ubuntu 9.10. And this called
>>> gdb update from 6.8 to 7.0.  GDB started crashed every time I set
>>> breakpoint and tried to stop on  it during debuging.  I use 64 bit
>>> version of OS and QtCreator 92 and 93 versions.  The important point
>>> is that I tried to debug library.  Then I downgraded GDB to 6.8 and
>>> all are working  well now.
>>>
>>> I'm only reporting about the problem.
>> Thanks for the report. Such reports usually help to identify the
>> problem.
> You are welcome %-)
> 
>>> Maybe it's GDB's bug.
>> It looks like it, see http://sourceware.org/bugzilla/show_bug.cgi?id=10886 
>> .
>> That basically destroys Creator's ability to load the debugging  
>> helpers.
>>
>> Unfortunately, even switching off the debugging helper does not help  
>> due
>> to another bug, see http://sourceware.org/bugzilla/show_bug.cgi?id=10884 
>> ,
>> that causes gdb 7.0 to crash for C++ object containing bitfields,  
>> which
>> nicely "covers" the classes most interesting for Qt development, most
>> notably QObject and the Qt containers.
>>
>> Right now it seems like the first bug has been around for a while, but
>> got more prominent in 7.0. The second one seems to be new in gdb 7.0.
> Thank you for such detailed answer. It's looks like You already know  
> about this problem.
> Hmmm, I think gdb is not usable for C++ yet in this case.
> 
> 
>> I am not sure what a user friendly solution could look like given the
>> circumstances...
> I think there are only one solution - don't use gdb 7.0, maybe 7.1  
> will be better for C++ developers.
> 
> Thank you for your feedback.
> With best regards.
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator





More information about the Qt-creator-old mailing list