diff --git a/uppsrc/ide/Core/Core.cpp b/uppsrc/ide/Core/Core.cpp index dce7983f2..c6a685004 100644 --- a/uppsrc/ide/Core/Core.cpp +++ b/uppsrc/ide/Core/Core.cpp @@ -581,7 +581,7 @@ String GetExeExt() return ".exe"; #else return ""; -#endif +#endif } String NormalizeExePath(String exePath) diff --git a/uppsrc/ide/Debuggers/Gdb.cpp b/uppsrc/ide/Debuggers/Gdb.cpp index 005a81bf1..2edd373b2 100644 --- a/uppsrc/ide/Debuggers/Gdb.cpp +++ b/uppsrc/ide/Debuggers/Gdb.cpp @@ -335,9 +335,9 @@ bool Gdb::Key(dword key, int count) bool Gdb::Create(One&& _host, const String& exefile, const String& cmdline, bool console) { host = pick(_host); - dbg = host->StartProcess(GdbCommand(console) + GetHostPath(exefile)); + dbg = host->StartProcess(GdbCommand(console) + NormalizeExePath(GetHostPath(exefile))); if(!dbg) { - Exclamation("Error invoking gdb !"); + ErrorOK("Error while invoking gdb!"); return false; } IdeSetBottom(*this);