Skip to content

Commit 025f686

Browse files
committed
Add new fields from 3.14b2 to debug offsets
1 parent 7e2ee13 commit 025f686

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/pystack/_pystack/cpython/runtime.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,8 @@ typedef struct _Py_DebugOffsets
455455
uint64_t gil_runtime_state_enabled;
456456
uint64_t gil_runtime_state_locked;
457457
uint64_t gil_runtime_state_holder;
458+
uint64_t code_object_generation;
459+
uint64_t tlbc_generation;
458460
} interpreter_state;
459461

460462
// Thread state offset;
@@ -597,6 +599,12 @@ typedef struct _Py_DebugOffsets
597599
uint64_t gi_frame_state;
598600
} gen_object;
599601

602+
struct _llist_node
603+
{
604+
uint64_t next;
605+
uint64_t prev;
606+
} llist_node;
607+
600608
struct _debugger_support
601609
{
602610
uint64_t eval_breaker;

0 commit comments

Comments
 (0)