Showing content from http://mail.python.org/pipermail/python-dev/attachments/20050904/6a36f28c/gdbinit-patch-0001.obj below:
Index: Misc/gdbinit =================================================================== RCS file: /cvsroot/python/python/dist/src/Misc/gdbinit,v retrieving revision 1.10 diff -w -u -r1.10 gdbinit --- Misc/gdbinit 13 Aug 2005 00:28:41 -0000 1.10 +++ Misc/gdbinit 5 Sep 2005 03:26:40 -0000 @@ -46,18 +46,19 @@ # A rewrite of the Python interpreter's line number calculator in GDB's # command language define lineno + set $__continue = 1 set $__co = f->f_code set $__lasti = f->f_lasti set $__sz = ((PyStringObject *)$__co->co_lnotab)->ob_size/2 set $__p = (unsigned char *)((PyStringObject *)$__co->co_lnotab)->ob_sval set $__li = $__co->co_firstlineno set $__ad = 0 - while ($__sz-1 >= 0) + while ($__sz-1 >= 0 && $__continue) set $__sz = $__sz - 1 set $__ad = $__ad + *$__p set $__p = $__p + 1 if ($__ad > $__lasti) - break + set $__continue = 0 end set $__li = $__li + *$__p set $__p = $__p + 1
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4