mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
GH-100987: Allow objects other than code objects as the "executable" of an internal frame. (GH-105727)
* Add table describing possible executable classes for out-of-process debuggers. * Remove shim code object creation code as it is no longer needed. * Make lltrace a bit more robust w.r.t. non-standard frames.
This commit is contained in:
parent
ad56340b66
commit
7199584ac8
28 changed files with 541 additions and 606 deletions
|
@ -335,7 +335,7 @@ py_trampoline_evaluator(PyThreadState *ts, _PyInterpreterFrame *frame,
|
|||
perf_status == PERF_STATUS_NO_INIT) {
|
||||
goto default_eval;
|
||||
}
|
||||
PyCodeObject *co = frame->f_code;
|
||||
PyCodeObject *co = _PyFrame_GetCode(frame);
|
||||
py_trampoline f = NULL;
|
||||
assert(extra_code_index != -1);
|
||||
int ret = _PyCode_GetExtra((PyObject *)co, extra_code_index, (void **)&f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue