Please note: We are aware of an issue affecting replies on the Arm Community forums, which may not be loading as expected.

We apologize for any inconvenience and appreciate your patience while we investigate and work to resolve the issue.

Thank you for your understanding.


This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem obtaining frame pointer in the call stack for STM32L4R9AI board

When I build my code with the following compiler option on STM32L4R9AI (Cortex M4) board with TizenRT (https://github.com/Samsung/TizenRT)

ARCHOPTIMIZATION += -fno-omit-frame-pointer -mapcs -mno-sched-prolog

I do not get a frame pointer (fp) for every call stack of the source code build.

When I take the object dump, I get following call stack >>

08000fb0 <stm32l4_dbgmonitor>:
8000fb0: b580 push {r7, lr}

Whereas, for cortex-R the object dump using the same compiler option (for artik053 board) looks as below >>

040c920c <s5j_clk_set_rate>:
40c920c: e1a0c00d mov ip, sp
40c9210: e92dd830 push {r4, r5, fp, ip, lr, pc}


I am currently using using gcc version 6.3.0.

Any pointers on this issue would be helpful.

Thanks & Regards,

Vidisha Thapa

Parents Reply Children
No data