Commit c7ea186d authored by hjk's avatar hjk
Browse files

Debugger: Always check for availability of python with GDB



Trying to avoid that round-trip on versions that are known to
not have it puts us on the mercy of detecting the version,
which is unreliable by nature, and bad in practice, as proven
by the recent MinGW builds.

Change-Id: I122eb03fe0ddcb193ed8d45e672564f7113b662f
Reviewed-by: default avatarRay Donnelly <mingw.android@gmail.com>
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent bde5c5c2
......@@ -1827,14 +1827,7 @@ void GdbEngine::handleShowVersion(const GdbResponse &response)
postCommand("set detach-on-fork off", ConsoleCommand);
//postCommand("set build-id-verbose 2", ConsoleCommand);
if (m_gdbVersion > 70100) {
// Quick check whether we have python.
postCommand("python print 43", ConsoleCommand, CB(handleHasPython));
} else {
showMessage(_("NOTE: CHECK FOR PYTHON SUPPRESSED, VERSION TOO LOW"));
pythonDumpersFailed();
}
postCommand("python print 43", ConsoleCommand, CB(handleHasPython));
}
}
......
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