diff options
author | Brett Cannon <bcannon@gmail.com> | 2011-01-17 21:12:54 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2011-01-17 21:12:54 (GMT) |
commit | 6e7f5823d0fcd9a67d69e6225798d545688efc79 (patch) | |
tree | 1bd514f971e31aa31c7e7e2581b6d2a356c276e5 | |
parent | 15b47c5d7f8e3fb3021185d00eb9032de824920b (diff) | |
download | cpython-6e7f5823d0fcd9a67d69e6225798d545688efc79.zip cpython-6e7f5823d0fcd9a67d69e6225798d545688efc79.tar.gz cpython-6e7f5823d0fcd9a67d69e6225798d545688efc79.tar.bz2 |
Short README on gdb support.
-rw-r--r-- | Misc/README.gdb | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Misc/README.gdb b/Misc/README.gdb new file mode 100644 index 0000000..c2d3ab4 --- /dev/null +++ b/Misc/README.gdb @@ -0,0 +1,17 @@ +gdb Support for Python +====================== + +gdb 7 and later +--------------- +In gdb 7, support for extending gdb with Python was added. When CPython is +built you will notice a python-gdb.py file in the root directory of your +checkout. Read the module docstring for details on how to use the file to +enhance gdb for easier debugging of a CPython process. + + +gdb 6 and earlier +----------------- +The file at ``Misc/gdbinit`` contains a gdb configuration file which provides +extra commands when working with a CPython process. To use the file, either +copy the commands to your personal gdb configuration file or symlink +``~/.gdbinit`` to ``Misc/gdbinit``. |