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
Bookmarks