blob: c2d3ab4946f9cfc027cc62d0addf08fd8c846b37 [file] [log] [blame]
Brett Cannon6e7f5822011-01-17 21:12:54 +00001gdb Support for Python
2======================
3
4gdb 7 and later
5---------------
6In gdb 7, support for extending gdb with Python was added. When CPython is
7built you will notice a python-gdb.py file in the root directory of your
8checkout. Read the module docstring for details on how to use the file to
9enhance gdb for easier debugging of a CPython process.
10
11
12gdb 6 and earlier
13-----------------
14The file at ``Misc/gdbinit`` contains a gdb configuration file which provides
15extra commands when working with a CPython process. To use the file, either
16copy the commands to your personal gdb configuration file or symlink
17``~/.gdbinit`` to ``Misc/gdbinit``.