Gdb Script Loop While Python Break Out Of For Loop