zig0

my attempts at zig bootstrapping in C
Log | Files | Refs | README | LICENSE

commit c4c52f25aba02378be9c7c9377fa86e84ec29bd4 (tree)
parent 5b69d6705bb88093a443a44fcc1bca18c721338c
Author: Motiejus Jakštys <motiejus.jakstys@chronosphere.io>
Date:   Wed, 11 Feb 2026 14:54:18 +0000

more debugging tips

Diffstat:
MREADME.md | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -14,12 +14,13 @@ Test runs infinitely? Build the test program executable: And then run it, capturing the stack trace: +``` gdb -batch \ -ex "python import threading; threading.Timer(1.0, lambda: gdb.post_event(lambda: gdb.execute('interrupt'))).start()" \ -ex run \ -ex "bt full" \ -ex quit \ zig-out/bin/test - +``` You are welcome to replace `-ex "bt full"` with anything other of interest.