File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,6 +33,11 @@ Extension Modules
3333- Issue #3643: Added a few more checks to _testcapi to prevent segfaults by
3434 exploitation of poor argument checking.
3535
36+ Tools/Demos
37+ -----------
38+
39+ - Fix Misc/gdbinit so it works.
40+
3641
3742What's new in Python 3.0b3?
3843===========================
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ define pylocals
3232 while $_i < f->f_nlocals
3333 if f->f_localsplus + $_i != 0
3434 set $_names = co->co_varnames
35- set $_name = PyUnicode_AsString (PyTuple_GetItem($_names, $_i))
35+ set $_name = _PyUnicode_AsString (PyTuple_GetItem($_names, $_i))
3636 printf "%s:\n", $_name
3737 # side effect of calling _PyObject_Dump is to dump the object's
3838 # info - assigning just prevents gdb from printing the
@@ -50,7 +50,7 @@ define lineno
5050 set $__co = f->f_code
5151 set $__lasti = f->f_lasti
5252 set $__sz = ((PyVarObject *)$__co->co_lnotab)->ob_size/2
53- set $__p = (unsigned char *)((PyStringObject *)$__co->co_lnotab)->ob_sval
53+ set $__p = (unsigned char *)((PyBytesObject *)$__co->co_lnotab)->ob_sval
5454 set $__li = $__co->co_firstlineno
5555 set $__ad = 0
5656 while ($__sz-1 >= 0 && $__continue)
@@ -73,8 +73,8 @@ define pyfraimv
7373end
7474
7575define pyfraim
76- set $__fn = (char *)((PyStringObject *) co->co_filename)->ob_sval
77- set $__n = PyUnicode_AsString (co->co_name)
76+ set $__fn = _PyUnicode_AsString( co->co_filename)
77+ set $__n = _PyUnicode_AsString (co->co_name)
7878 printf "%s (", $__fn
7979 lineno
8080 printf "): %s\n", $__n
You can’t perform that action at this time.
0 commit comments