How to get backtrace with GCC for RX
How to get backtrace with GCC for RX
Hello, how can I get backtrace similar to https://github.com/red-rocket-computing/backtrace
I am asking to find backtrace for the NMI for WDT IRQ so that I know what was executing before this. Thanks.
Additional info:
-
Target: RX111 (R5F51116)
-
IDE: e² studio 2025-04.1 (25.4.1)
-
Debugger: E2 Lite
-
Compiler: GCC for RX 8.3.0.202411
Hello,
Thank you for reaching out to us!
We can confirm that the GCC RX toolchain supports the required
__builtin_return_address(0) and __builtin_frame_address(0)
builtins, so porting https://github.com/red-rocket-computing/backtrace might be possible.
However, there are no plans to offer support for this or similar libraries at the moment.
Please let us know if we can be of assistance with any other issues.
Best regards,
The Open Source Tools Team
×

English