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

@ -452,6 +452,9 @@ Py_Main(int argc, char **argv)
return sts;
}
/* this is gonna seem *real weird*, but if you put some other code between
Py_Main() and Py_GetArgcArgv() you will need to adjust the test in the
while statement in Misc/gdbinit:ppystack */
/* Make the *original* argc/argv available to other modules.
This is rare, but it is needed by the secureware extension. */