[Qt-creator] Unable to debug application on-device using Qt-Creator and MADDE (TP2)

Rudenko Eugene erule.biz at gmail.com
Wed May 12 11:30:36 CEST 2010


Hello, I'm trying to debug on device.
I configured all and application compiled and run on device well, but it not stopped on any breakpoints.
Qt-creator - 1.3.82 From revision 017ea83680
MADDE  - TP2 0.6.14

I attached debugger output.
I found a couple of strange messages in it:

 =====================================
dATTEMPT BREAKPOINT SYNC
<257-break-insert "\"mainwindow.cpp\":33"
<258-break-insert "\"main.cpp\":7"
>&"No source file named mainwindow.cpp.\n"
>257^error,msg="No source file named mainwindow.cpp."
<259break "\"mainwindow.cpp\":33"
>&"No source file named main.cpp.\n"
>258^error,msg="No source file named main.cpp."
<260break "\"main.cpp\":7"
>&"break \"\\\"mainwindow.cpp\\\":33\"\n"
>&"No source file named \\\"mainwindow.cpp\\.\n"
>~"Breakpoint 1 (\"\\\"mainwindow.cpp\\\":33\") pending.\n"
>259^done
>&"break \"\\\"main.cpp\\\":7\"\n"
>&"No source file named \\\"main.cpp\\.\n"
>~"Breakpoint 2 (\"\\\"main.cpp\\\":7\") pending.\n"
=========================================

It looks like gdb unable to find source codes. How to fix it?



Also I got a lot of such errors:

==========================================
>&"warning: .dynamic section for \"/Users/rule/.madde/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/usr/lib/libQtCore.so.4\" is not at the expected address (wrong library or version mismatch?)\n"
>&"warning: .dynamic section for \"/Users/rule/.madde/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/lib/libpthread.so.0\" is not at the expected address (wrong library or version mismatch?)\n"
>&"warning: .dynamic section for \"/Users/rule/.madde/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/usr/lib/libstdc++.so.6\" is not at the expected address (wrong library or version mismatch?)\n"
>&"warning: .dynamic section for \"/Users/rule/.madde/0.6.14/sysroots/fremantle-arm-sysroot-2.2009-51-1-qt453/lib/libm.so.6\" is not at the expected address\n"

===============================================

It looks like MADDE's libraries are not match the Device's ones... How to fix it????



With best regards Eugene Rudenko.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100512/ad205235/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: maemo_debug.rtf
Type: text/rtf
Size: 24818 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100512/ad205235/attachment.rtf 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100512/ad205235/attachment-0001.html 


More information about the Qt-creator-old mailing list