[3.6] bpo-29673: fix gdb scripts pystack and pystackv (GH-6126) (GH-6400)

(cherry picked from commit 3a9ccee0e5)

Co-authored-by: Marcel Plch <gmarcel.plch@gmail.com>
This commit is contained in:
Miss Islington (bot) 2018-04-06 15:15:34 -07:00 committed by Ned Deily
parent 2350a47652
commit 3468a05f6a
4 changed files with 10 additions and 8 deletions

View file

@ -3888,7 +3888,7 @@ too_many_positional(PyCodeObject *co, Py_ssize_t given, Py_ssize_t defcount,
}
/* This is gonna seem *real weird*, but if you put some other code between
PyEval_EvalFrame() and PyEval_EvalCodeEx() you will need to adjust
PyEval_EvalFrame() and _PyEval_EvalFrameDefault() you will need to adjust
the test in the if statements in Misc/gdbinit (pystack and pystackv). */
static PyObject *