Gdb Script Loop While In Python Loop