Debugger fixes: Attach core/Compile Windows/Run XP.

Retrieve QueryProcessImageFileNameW via QLIbrary/dlopen
on all platforms due to it being not present on Windows XP.
This commit is contained in:
Friedemann Kleint
2010-03-17 13:00:44 +01:00
parent 924e78b634
commit 0216a0012f
3 changed files with 9 additions and 17 deletions

View File

@@ -1055,7 +1055,8 @@ void DebuggerManager::startNewDebugger(const DebuggerStartParametersPtr &sp)
d->m_engine = debuggerEngineForExecutable(d->m_startParameters->executable, &errorMessage, &settingsIdHint);
if (d->m_engine == 0
&& (startMode == AttachExternal || startMode == AttachCrashedExternal))
&& (startMode == AttachExternal || startMode == AttachCrashedExternal
|| startMode == AttachCore))
d->m_engine = debuggerEngineForAttach(&errorMessage);
if (!d->m_engine) {