[Qt-creator] Debugging fails with QtCreator
André Pönitz
apoenitz at t-online.de
Sun Aug 24 23:57:33 CEST 2014
On Sun, Aug 24, 2014 at 09:25:26PM +0200, Jochen Becher wrote:
> Hi,
>
> sorry, I did not make one simple test: settings a breakpoint in the very
> first statement of int main(). This works so gdb is correctly started.
> But when it comes to
>
> PluginManager::loadPlugins();
>
> gdb fails. Maybe there is one specific plug-in gdb cannot handle?
It's the GDB 7.7's demangler that crashes on certain symbols
created by GCC from some C++11 code, see e.g.
https://sourceware.org/bugzilla/show_bug.cgi?id=16957
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61233
and others. The crash is already triggered when a binary
containing certain symbols is loaded, already without any
attempt to run something.
GDB 7.6 is a more robust choice in this respect, but this
version suffers from some performance issues (see e.g.
https://sourceware.org/bugzilla/show_bug.cgi?id=15412), but
is a better choice in this case.
I can't say anything aboout 7.8 yet.
Andre'
More information about the Qt-creator
mailing list