On Thu, 03 May 2012 14:15:43 -0500 "David C. Rankin" drankinatty@suddenlinkmail.com wrote:
On 05/03/2012 01:50 PM, Timothy Pearson wrote:
Just make sure you have the debugging symbols installed so that we can get line numbers, and that you have compiled from either the latest GIT head or a recent revision, preferably one with the gcc 4.7 fixes in place.
It would be a good idea to post the valgrind output to the bug report.
Tim
How do I turn debugging on for tqt3?
I have:
./configure \ -prefix ${_prefix} \ -sysconfdir /etc/tqt \ -I/usr/include/mysql \ -I/usr/include/postgresql/server \ -I/usr/include/libiodbc \
<snip> -no-ipv6 \ -debug
But I don't get line numbers for tqt3. I get them for tdelibs, etc..:
Loaded symbols for /lib/libnss_files.so.2 0x00007f5859c98200 in isSpace () from /opt/tqt3/lib/libtqt-mt.so.3 (gdb) bt #0 0x00007f5859c98200 in isSpace () from /opt/tqt3/lib/libtqt-mt.so.3 #1 0x00007f585a0a6a6c in TQChar::isSpace (this=0x1c9b010) at tools/qstring.cpp:475
What's the trick for tqt3?
If you can mandate custom CXXFLAGS, just adding "-g" to them should suffice.