Skip to content
Snippets Groups Projects
Commit 65124a6b authored by ck's avatar ck
Browse files

Debugger: Set DISPLAY variable for GDB over SSH.

parent cd7c2ca1
No related branches found
No related tags found
No related merge requests found
......@@ -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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment