Hello again! Having thought about this a bit further: Which ABI is actually detected for the binary you want to debug?
Could you mail me the binary, please? It would really be interesting how cygwin differs from the MSVCs and Mingw Binaries. Mit freundlichen Grüßen, Tobias Tobias Hunger Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori ________________________________________ Von: [email protected] [[email protected]]" im Auftrag von "ext Stanisław Halik [[email protected]] Gesendet: Donnerstag, 25. August 2011 15:50 Bis: [email protected] Betreff: [Qt-creator] force debugger type for unknown ABI Hey, I'm using Qt Creator as a C IDE for Cygwin apps with no Qt or Mingw. Don't know if this is a supported configuration. It ought to be possible to force a debugger type when Creator launches it, as it can lead to unexpected results such as treating GDB as CdbEngine, and passing it wrong command-line arguments as a result. Here's a silly hack that works for me, but is in no way an acceptable solution: --- a/src/plugins/debugger/debuggerrunner.cpp +++ b/src/plugins/debugger/debuggerrunner.cpp @@ -374,13 +374,7 @@ static QList<DebuggerEngineType> enginesForToolChain(const result.push_back(GdbEngineType); break; case Abi::PEFormat: - if (toolChain.osFlavor() == Abi::WindowsMSysFlavor) { - result.push_back(GdbEngineType); - result.push_back(CdbEngineType); - } else { - result.push_back(CdbEngineType); - result.push_back(GdbEngineType); - } + result.push_back(GdbEngineType); break; case Abi::RuntimeQmlFormat: result.push_back(QmlEngineType); Might be nice to have such an option somewhere in the GUI, as not to have to manually hack and compile the whole thing. _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
