From 0e507b763d6cde674e435f69314125ac73cf88ca Mon Sep 17 00:00:00 2001 From: klugier Date: Sun, 29 Jul 2018 09:52:36 +0000 Subject: [PATCH] Gdb: .cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@12114 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/ide/Debuggers/GdbUtils.cpp | 8 ++++---- uppsrc/ide/main.cpp | 9 --------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/uppsrc/ide/Debuggers/GdbUtils.cpp b/uppsrc/ide/Debuggers/GdbUtils.cpp index 543feb6d9..d858b4d28 100644 --- a/uppsrc/ide/Debuggers/GdbUtils.cpp +++ b/uppsrc/ide/Debuggers/GdbUtils.cpp @@ -62,12 +62,12 @@ bool GdbWindowsUtils::Is64BitIde() const bool GdbWindowsUtils::Is64BitProcess(HANDLE handle) const { - BOOL b_wow_64 = FALSE; - if(IsWow64Process(handle, &b_wow_64)) { - Loge() << METHOD_NAME << "Failed to check that process is under wow64 emulaton layer."; + BOOL is_wow_64 = FALSE; + if(!IsWow64Process(handle, &is_wow_64)) { + Loge() << METHOD_NAME << "Failed to check that process is under wow64 emulation layer."; } - return !b_wow_64; + return !is_wow_64; } #undef METHOD_NAME diff --git a/uppsrc/ide/main.cpp b/uppsrc/ide/main.cpp index a1e88f073..0ea53b391 100644 --- a/uppsrc/ide/main.cpp +++ b/uppsrc/ide/main.cpp @@ -125,9 +125,6 @@ void AppMain___() bool first_install = false; SetVppLogSizeLimit(200000000); -#ifdef _DEBUG -// MemoryLimitKb(1000000); -#endif #ifdef PLATFORM_POSIX LoadUpdaterCfg(); @@ -144,12 +141,6 @@ void AppMain___() } #endif -#ifdef _DEBUG -// Ctrl::ShowRepaint(20); -#endif - - // _DBG_ InstantSetup(); return; - #ifdef PLATFORM_WIN32 if(!CheckLicense()) return;