mirror of
https://github.com/python/cpython.git
synced 2025-09-29 03:35:31 +00:00
Short README on gdb support.
This commit is contained in:
parent
15b47c5d7f
commit
6e7f5823d0
1 changed files with 17 additions and 0 deletions
17
Misc/README.gdb
Normal file
17
Misc/README.gdb
Normal file
|
@ -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``.
|
Loading…
Add table
Add a link
Reference in a new issue