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.
Hi all,
I am trying to print address of frame pointers of stack frames in arm32 arch and armv7.
To find previous stack frame address I am doing (frame - 12) in arch_prev_frame() and (frame - 4 ) in arch_call_address().
But I could able to print only 1st frames address, and next fp value I am getting as NULL.
i.e I am not able to get the previous frame pointers value.
Any clue would be great help.
Thanks and regards,
Sushmita
Hi Sushmita,
Which compiler, and version, are you using?
Ronan
Hi Ronan,
Thanks for your reply.
I am compiling code with # g++ --version 4.5.1 compiler with -fno-omit-frame-pointer flag.
Thanks,