Support for gdb 7.7 and python3