Recent git snapshot offer 'i386' and 'i386:x86-64:intel' as remote architectures.
Recent git snapshot offer 'i386' and 'i386:x86-64:intel' as remote architectures.
Hi "ktk",
I tried the 1.2.91 snapshot last friday and it does has the i386 platform. It has allowed me to make some progress as I'm not getting the architecture error anymore. Nevertheless, I still cannot debug the application.
After selecting "Debug -> Start Debugging -> Start and Attach to Remote Application...", QtCreator seems to successfully connect to the target, but shows me the following error dialog and aborts the debugging session:
Connecting to remote server failed:
164^error,data={msg="Don't know how to attach. Try \"help target\".",logstreamoutput="attach\nDon't know how to attach. Try \"help target\".\n",consolestreamoutput="A program is being debugged already. Kill it? (y or n) [answered Y; input not from terminal]\n"}
The console showed the following debug printfs:
ASSERTION state() == InferiorRunningRequested FAILED AT ../../../../src/plugins/debugger/gdb/remotegdbadapter.cpp:251
InferiorStarting ( 9 )
ASSERTION false FAILED AT ../../../../src/plugins/debugger/gdb/remotegdbadapter.cpp:279
InferiorStarting ( 9 )
UNEXPECTED STATE TRANSITION: "State changed from InferiorStarting(9) to AdapterShuttingDown(19)."
My question is: for debugging a remote application with QtCreator, is it necessary to provide a gdb start-up script ? Shouldn't QtCreator be able to automatically talk to gdbserver on the target and start the debugging ?
Does anybody
Regards,
Rodrigo
It was a bug in Qt Creator. It's been fixed already.
For more information, see this thread:
http://lists.trolltech.com/pipermail...er/004633.html
Rodrigo.
What about
A handler for the OS ABI "GNU/Linux" is not built into this configuration
of GDB. Attempting to continue with the default i386:x86-64:intel settings.
Selected architecture i386:x86-64:intel is not compatible with reported target architecture i386
that happens to me as well and it results in crashes when I try tu debug...
`/lib/ld-linux.so.2': Shared library architecture unknown is not compatible with target architecture arm.
`/lib/ld-linux.so.2': Shared library architecture unknown is not compatible with target architecture arm.
`/lib/librt.so.1': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/librt.so.1" is not at the expected address (wrong library or version mismatch?)
`/lib/libdl.so.2': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libdl.so.2" is not at the expected address (wrong library or version mismatch?)
`/lib/libpthread.so.0': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libpthread.so.0" is not at the expected address (wrong library or version mismatch?)
`/lib/libm.so.6': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libm.so.6" is not at the expected address (wrong library or version mismatch?)
`/lib/libgcc_s.so.1': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libgcc_s.so.1" is not at the expected address (wrong library or version mismatch?)
`/lib/libc.so.6': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libc.so.6" is not at the expected address (wrong library or version mismatch?)
`/lib/ld-linux.so.2': Shared library architecture unknown is not compatible with target architecture arm.
`/lib/ld-linux.so.2': Shared library architecture unknown is not compatible with target architecture arm.
`/lib/librt.so.1': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/librt.so.1" is not at the expected address (wrong library or version mismatch?)
`/lib/libdl.so.2': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libdl.so.2" is not at the expected address (wrong library or version mismatch?)
`/lib/libpthread.so.0': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libpthread.so.0" is not at the expected address (wrong library or version mismatch?)
`/lib/libm.so.6': Shared library architecture unknown is not compatible with target architecture arm.
.dynamic section for "/lib/libm.so.6" is not at the expected address (wrong library or version mismatch?)
...........
I have this as welll...I am using a gdb with target arm-linux...
Best Regards
Bookmarks