Debugger: Make Creator work with a GDB using Python 3.x

Even if current GDB git does not compile in that configuration,
some people seem to be able to get this up and running, leading
to dumper load failures and fallback to the no-more-existing
compiled dumpers.

Change-Id: I08ba6c43105c28b3406fce36049bfdf633e79e31
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
hjk
2013-08-16 12:35:44 +02:00
parent 958a1d2d4e
commit ad9c51a486

View File

@@ -1829,7 +1829,7 @@ void GdbEngine::handleShowVersion(const GdbResponse &response)
postCommand("set detach-on-fork off", ConsoleCommand);
//postCommand("set build-id-verbose 2", ConsoleCommand);
postCommand("python print 43", ConsoleCommand, CB(handleHasPython));
postCommand("python print(sys.version)", ConsoleCommand, CB(handleHasPython));
}
}