Commit ad9c51a4 authored by hjk's avatar hjk
Browse files

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: default avatarKai Koehne <kai.koehne@digia.com>
Reviewed-by: default avatarDavid Schulz <david.schulz@digia.com>
parent 958a1d2d
......@@ -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));
}
}
......
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