I seem to have discovered non-deterministic behaviour in #gdb's #python bindings. It's all very confusing.