[Bug 128538] Re: Qt4/gdb: Cannot step into Qt4 functions

Sergey Tachenov laerel at yandex.ru
Fri Nov 9 20:42:51 UTC 2007


Looketh like .gnu_debuglink sections of the libraries are screwed up for
whatever reason--they are pointing to the libraries themselves rather
than to the "libQt*.debug" files. Running as root something like:

cd /usr/lib
for i in libQt*.4.3.2; do objcopy -R .gnu_debuglink "$i" && objcopy --add-gnu-debuglink="$i.debug" "$i"; done

seemeth to help.

The funny thing is, "libQt*.debug" files also have .gnu_debuglink
sections and they are pointing recursively to the file itself too:

root at brededor:/usr/lib# readelf -x .gnu_debuglink libQtCore.so.4.3.2

Hex dump of section '.gnu_debuglink':
  0x00000000 6c696251 74436f72 652e736f 2e342e33 libQtCore.so.4.3
  0x00000010 2e320040 424006ed                   .2. at B@..

root at brededor:/usr/lib# readelf -x .gnu_debuglink
libQtCore.so.4.3.2.debug

Hex dump of section '.gnu_debuglink':
  0x00000000 6c696251 74436f72 652e736f 2e342e33 libQtCore.so.4.3
  0x00000010 2e322e64 65627567 00000000 403477d2 .2.debug.... at 4w.

-- 
Qt4/gdb: Cannot step into Qt4 functions
https://bugs.launchpad.net/bugs/128538
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for qt4-x11 in ubuntu.




More information about the kubuntu-bugs mailing list