[Qt-creator] QtCreator And GDB 7.0

Andre Poenitz andre.poenitz at mathematik.tu-chemnitz.de
Mon Nov 2 20:20:01 CET 2009


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.

> 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.

I am not sure what a user friendly solution could look like given the
circumstances...

Andre'



More information about the Qt-creator-old mailing list