diff --git a/src/plugins/debugger/gdb/gdbengine.cpp b/src/plugins/debugger/gdb/gdbengine.cpp index 3351ea8cf234abff1a45ee9bf8c8b2ce15347e50..37c089a1b9fe1bc27c272d1d7188fd4d4d2a1889 100644 --- a/src/plugins/debugger/gdb/gdbengine.cpp +++ b/src/plugins/debugger/gdb/gdbengine.cpp @@ -1319,16 +1319,12 @@ QString GdbEngine::fullName(const QString &fileName) QString GdbEngine::cleanupFullName(const QString &fileName) { QTC_ASSERT(!fileName.isEmpty(), return QString()) - if (m_gdbVersion < 60800) { - // The symbian gdb 6.4 seems to deliver "fullnames" which - // a) have no drive letter and b) are not normalized. - QFileInfo fi(fileName); - if (!fi.isReadable()) - return QString(); - return QDir::cleanPath(fi.absoluteFilePath()); - } else { - return fileName; - } + // Gdb on windows often delivers "fullnames" which + // a) have no drive letter and b) are not normalized. + QFileInfo fi(fileName); + if (!fi.isReadable()) + return QString(); + return QDir::cleanPath(fi.absoluteFilePath()); } #endif