Debugger: Set DISPLAY variable for GDB over SSH.

This commit is contained in:
ck
2010-05-14 10:01:27 +02:00
parent cd7c2ca12c
commit 65124a6b5f

View File

@@ -86,7 +86,7 @@ bool RemoteGdbProcess::waitForStarted()
connect(m_gdbConn.data(), SIGNAL(remoteOutputAvailable()),
this, SLOT(handleGdbOutput()));
m_gdbStarted = false;
m_gdbCmdLine = "stty -echo && " + m_command.toUtf8() + ' '
m_gdbCmdLine = "stty -echo && DISPLAY=:0.0 " + m_command.toUtf8() + ' '
+ m_cmdArgs.join(QLatin1String(" ")).toUtf8()
+ " -tty=" + AppOutputFile + " 2>" + ErrOutputFile + '\n';
if (!m_wd.isEmpty())