aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Include/internal/pycore_faulthandler.h
diff options
context:
space:
mode:
authorPeter Bierma <zintensitydev@gmail.com>2025-04-21 15:48:02 -0400
committerGitHub <noreply@github.com>2025-04-21 20:48:02 +0100
commit8dfa840773d1d6bae1bf6e0dfa07618ea10c9d71 (patch)
tree2fd17e8c78b9f50302f335f6e848855cf236d0a7 /Include/internal/pycore_faulthandler.h
parentea8ec95cfadbf58a11ef8e41341254d982a1a479 (diff)
downloadcpython-8dfa840773d1d6bae1bf6e0dfa07618ea10c9d71.tar.gz
cpython-8dfa840773d1d6bae1bf6e0dfa07618ea10c9d71.zip
gh-127604: Add C stack dumps to `faulthandler` (#128159)
Diffstat (limited to 'Include/internal/pycore_faulthandler.h')
-rw-r--r--Include/internal/pycore_faulthandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_faulthandler.h b/Include/internal/pycore_faulthandler.h
index 6dd7d8d7ca9..78cd657e6ae 100644
--- a/Include/internal/pycore_faulthandler.h
+++ b/Include/internal/pycore_faulthandler.h
@@ -56,6 +56,7 @@ struct _faulthandler_runtime_state {
#ifdef MS_WINDOWS
void *exc_handler;
#endif
+ int c_stack;
} fatal_error;
struct {