I am trying to use CodeWarrior to debug a linux kernel flash driver problem we have on a custom board (based on the TWR-LS1021A). I wish to single step through the code after hitting a breakpoint. I have two problem here:
1. I cannot see all the local variables.
2. Single stepping can jump back and forth.
These seem symptomatic of some level of optimisation being applied to the code. From web searches it appears that linux requires some level of optimisation to function correctly. Is this correct and if so how do people go about interactively debugging with such a restriction?
I am using CodeWarrior Studio ofr QorIQ LS series - ARM V7 ISA version 10.0.7 and NXP Yocto v1.8 SDK.