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.
diff --git a/Python/ceval.c b/Python/ceval.c
index c6fb0bf..3371844 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -2445,6 +2445,10 @@
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,