Commit 16cf79d4 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Revert "Debugger: Pass data-directory to gdb on Windows"

Patching GDB instead

This reverts commit fe4b6fee



Change-Id: I02f17eece95f9b36ed6ae56c09dbf3bc6d161c78
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 79af2d96
......@@ -4730,13 +4730,6 @@ void GdbEngine::startGdb(const QStringList &args)
gdbArgs << _("mi");
if (!debuggerCore()->boolSetting(LoadGdbInit))
gdbArgs << _("-n");
if (HostOsInfo::isWindowsHost()) {
const QFileInfo gdbBinaryFile(m_gdb);
const QString gdbDirectory(gdbBinaryFile.absolutePath());
const QString gdbDataDir = gdbDirectory + _("/data-directory");
if (QFile::exists(gdbDataDir))
gdbArgs << _("--data-directory") << gdbDataDir;
}
gdbArgs += args;
connect(m_gdbProc, SIGNAL(error(QProcess::ProcessError)),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment