Add pystack definition to Misc/gdbinit with some explanation of its behavior

and add flag comments to ceval.c and main.c alerting people to the coupling
between pystack and the layout of those files.
This commit is contained in:
Skip Montanaro 2004-03-01 15:44:05 +00:00
parent 87f10137bf
commit 786ea6bc23
3 changed files with 30 additions and 0 deletions

View file

@ -2445,6 +2445,10 @@ fast_yield:
return retval;
}
/* this is gonna seem *real weird*, but if you put some other code between
eval_frame() and PyEval_EvalCodeEx() you will need to adjust the test in
the if statement in Misc/gdbinit:ppystack */
PyObject *
PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals,
PyObject **args, int argcount, PyObject **kws, int kwcount,