Landing: 4ef64ad1aa9b
Project / Subsystem
gcc / microblaze
Date
2026-06-02
Author
Ramin Moussavi
Commit
4ef64ad1aa9bbbe9471610e2de6ef0c8afed8b1f
Source
github
Perf win
No
Breaking
No
All attributes
- project
- gcc
- subsystem
- microblaze
- patch_id
- —
- commit_hash
- 4ef64ad1aa9bbbe9471610e2de6ef0c8afed8b1f
- source_type
- github
- headline
- MicroBlaze adds Linux signal frame unwinding support
- tldr
- GCC's libgcc for MicroBlaze Linux now supports DWARF unwinding through signal frames, enabling correct stack traces andpthread cancellation.
- author
- Ramin Moussavi
- outcome
- committed
- performance_win
- false
- breaking_change
- false
- series_id
- —
- series_parts
- []
- tags
-
- • microblaze
- • linux
- • libgcc
- • debugging
- • nptl
- discussion_id_link
- —
- bugzilla_pr
- —
- date
- 2026-06-02T00:00:00.000Z
GCC’s libgcc for MicroBlaze Linux now properly supports DWARF unwinding through signal handler frames. Previously, applications using asynchronous pthread cancellation (like NPTL) or similar signal mechanisms would fail to unwind correctly past a signal, resulting in incomplete stack traces, incorrect cleanup handlers, or crashes. This fix introduces code to recognize the kernel’s signal trampoline and reconstructs the stack state from the pt_regs within the sigcontext, ensuring that unwinding operations can correctly traverse signal frames.