title: Coldfire force to use RAM instead of register
body: <p>I have an application, written in C, that runs on a Coldfire processor.</p>
  
  <p>I need to force it to use the RAM for all the local variables (declared in the functions) instead of use the registers; in order to debug the application properly.</p>
  
  <p>How can I do it?</p>
  
  <p><strong>Edit for more informations</strong></p>
  
  <p>Sometimes, in the main application, I get an error due to a wrong return value from the functions. This happens seldom, I put a check and a breakpoint before the return instruction but many variables use the same register and I cannot have a clear overview on the situation when the error happens. If I move the program counter at the beginning of the function and go step by step the result is correct. Probably there is something wrong with the management of the registers and I want to discover what it is.</p>
  
  <p>Thank you in advance, regards.</p>