Fixed gdb python scripts for new python version