]> granicus.if.org Git - python/commit
python-gdb.py: enhance py-bt command
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Sep 2015 08:17:28 +0000 (10:17 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Sep 2015 08:17:28 +0000 (10:17 +0200)
commitcc1db4bf85ed83543ae73cc497eabcef825e85b9
treecffc6a691776600e0536a48566dc625d6bf813ef
parent3c5ce404a0464721928d0decb13534c85c163b91
python-gdb.py: enhance py-bt command

* Add py-bt-full command
* py-bt now gives an output similar to a regular Python traceback
* py-bt indicates:

  - if the garbage collector is running
  - if the thread is waiting for the GIL
  - detect PyCFunction_Call to get the name of the builtin function
Lib/test/test_gdb.py
Tools/gdb/libpython.py