forked from qt-creator/qt-creator
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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user