[M32C] Incorrect Frame information generated

2007-04-20 Thread Ina Pandit
Hi, I have built a tool chain for m32c target using the latest sources. I am using a third party debugger to debug the application built using this tool chain. However, I am not able to view the complete call stack. It seems that the .debug_frame section is not generating the correct unwind

Re: [M32C] Incorrect Frame information generated

2007-04-20 Thread DJ Delorie
Those frame offsets are relative to $fp, not $sp. *Those* offsets are the same for those functions. Your debugger needs to interpret the DW_CFA_def_cfa_reg codes.