Replace windows backslashes to regular slashes for linux file systems over ssh

This commit is contained in:
WebFreak001 2016-02-10 00:37:00 +01:00
commit 99a185f951

View file

@ -100,7 +100,7 @@ class MI2DebugSession extends DebugSession {
if (args.ssh.remotex11screen === undefined) if (args.ssh.remotex11screen === undefined)
args.ssh.remotex11screen = 0; args.ssh.remotex11screen = 0;
this.isSSH = true; this.isSSH = true;
this.trimCWD = args.cwd; this.trimCWD = args.cwd.replace(/\\/g, "/");
this.switchCWD = args.ssh.cwd; this.switchCWD = args.ssh.cwd;
this.gdbDebugger.ssh(args.ssh, args.ssh.cwd, args.target).then(() => { this.gdbDebugger.ssh(args.ssh, args.ssh.cwd, args.target).then(() => {
if (args.autorun) if (args.autorun)