Next: Auto-loading, Previous: Python Commands, Up: Python
At startup, gdb overrides Python's sys.stdout
and
sys.stderr
to print using gdb's output-paging streams.
A Python program which outputs to one of these streams may have its
output interrupted by the user (see Screen Size). In this
situation, a Python KeyboardInterrupt
exception is thrown.