.ide executable path is now normalized when passing it to gdb command. #1661

git-svn-id: svn://ultimatepp.org/upp/trunk@10958 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
klugier 2017-03-19 20:02:29 +00:00
parent d36e8075b9
commit 564906174d
2 changed files with 3 additions and 3 deletions

View file

@ -335,9 +335,9 @@ bool Gdb::Key(dword key, int count)
bool Gdb::Create(One<Host>&& _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);