Commit 89f59646 authored by hjk's avatar hjk
Browse files

Debugger: Build auto tests with -gdwarf-3 when targeting GDB 7.4



We don't see any local variables otherwise.

Change-Id: Ieb9972e8e4b79b1d3a328c52c56244371664ebee
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent a9834fe1
......@@ -980,6 +980,8 @@ void tst_Dumpers::dumper()
proFile.write("CONFIG -= QT\n");
if (m_useGLibCxxDebug)
proFile.write("DEFINES += _GLIBCXX_DEBUG\n");
if (m_gdbVersion < 70500)
proFile.write("QMAKE_CXXFLAGS += -gdwarf-3\n");
proFile.write(data.profileExtra);
proFile.close();
......
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