[Qt-creator] QtCreator And GDB 7.0
Rudenko Eugene
erule.biz at gmail.com
Mon Nov 2 21:14:59 CET 2009
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.
More information about the Qt-creator-old
mailing list