From 65124a6b5f3f46c7359767732cd3cebc2ec97746 Mon Sep 17 00:00:00 2001 From: ck <qt-info@nokia.com> Date: Fri, 14 May 2010 10:01:27 +0200 Subject: [PATCH] Debugger: Set DISPLAY variable for GDB over SSH. --- src/plugins/debugger/gdb/remotegdbprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/gdb/remotegdbprocess.cpp b/src/plugins/debugger/gdb/remotegdbprocess.cpp index a8f8cefcc5c..1af11ef1bc0 100644 --- a/src/plugins/debugger/gdb/remotegdbprocess.cpp +++ b/src/plugins/debugger/gdb/remotegdbprocess.cpp @@ -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()) -- GitLab