Debugger: fix for the execution of win64interrupt.exe on 32bit

Change-Id: I9f8175ab98d0fd01cc44b27941e35078cacd5aa2
Reviewed-by: hjk <qthjk@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
David Schulz
2012-02-06 14:23:11 +01:00
committed by hjk
parent 05aa2b01fe
commit d47b1cdb53

View File

@@ -114,7 +114,7 @@ bool Debugger::Internal::interruptProcess(int pID, int engineType, QString *erro
static const bool hostIsWow64Process = isWow64Process(GetCurrentProcess());
const bool useDebugBreakApi = engineType == CdbEngineType ?
!hostIsWow64Process :
isWow64Process(inferior);
!isWow64Process(inferior);
#endif
if (useDebugBreakApi) {
ok = DebugBreakProcess(inferior);