Staging
v0.5.1
https://github.com/python/cpython
Revision 066394018a8463643cc63d933493f0afa99d72cc authored by Victor Stinner on 04 December 2020, 15:23:56 UTC, committed by GitHub on 04 December 2020, 15:23:56 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1866884 is fixed in gdb
10.1 (failed to reproduce on gdb-10.1-1.fc34.aarch64).
1 parent eaccc12
Raw File
Tip revision: 066394018a8463643cc63d933493f0afa99d72cc authored by Victor Stinner on 04 December 2020, 15:23:56 UTC
bpo-41473: Reenable test_gdb on gdb 9.2 and newer (GH-23637)
Tip revision: 0663940
pyframe.h
/* Limited C API of PyFrame API
 *
 * Include "frameobject.h" to get the PyFrameObject structure.
 */

#ifndef Py_PYFRAME_H
#define Py_PYFRAME_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct _frame PyFrameObject;

/* Return the line of code the frame is currently executing. */
PyAPI_FUNC(int) PyFrame_GetLineNumber(PyFrameObject *);

PyAPI_FUNC(PyCodeObject *) PyFrame_GetCode(PyFrameObject *frame);

#ifdef __cplusplus
}
#endif
#endif /* !Py_PYFRAME_H */
back to top