Next: Python Auto-loading, Previous: Python Commands, Up: Python [Contents][Index]
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.
| • Basic Python: | Basic Python Functions. | |
| • Exception Handling: | How Python exceptions are translated. | |
| • Values From Inferior: | Python representation of values. | |
| • Types In Python: | Python representation of types. | |
| • Pretty Printing API: | Pretty-printing values. | |
| • Selecting Pretty-Printers: | How GDB chooses a pretty-printer. | |
| • Writing a Pretty-Printer: | Writing a Pretty-Printer. | |
| • Type Printing API: | Pretty-printing types. | |
| • Inferiors In Python: | Python representation of inferiors (processes) | |
| • Events In Python: | Listening for events from GDB. | |
| • Threads In Python: | Accessing inferior threads from Python. | |
| • Commands In Python: | Implementing new commands in Python. | |
| • Parameters In Python: | Adding new GDB parameters. | |
| • Functions In Python: | Writing new convenience functions. | |
| • Progspaces In Python: | Program spaces. | |
| • Objfiles In Python: | Object files. | |
| • Frames In Python: | Accessing inferior stack frames from Python. | |
| • Blocks In Python: | Accessing frame blocks from Python. | |
| • Symbols In Python: | Python representation of symbols. | |
| • Symbol Tables In Python: | Python representation of symbol tables. | |
| • Breakpoints In Python: | Manipulating breakpoints using Python. | |
| • Finish Breakpoints in Python: | Setting Breakpoints on function return using Python. | |
| • Lazy Strings In Python: | Python representation of lazy strings. | |
| • Architectures In Python: | Python representation of architectures. |
Next: Python Auto-loading, Previous: Python Commands, Up: Python [Contents][Index]