This is the mail archive of the
crossgcc@cygnus.com
mailing list for the crossgcc project.
Coldfire Frame pointers....
I have one function that is part of an RTOS task switcher,
I need to force it to either always have, or always not have a frame pointer.
The simpleist solution is to put it in a file by itself and turn off
optimization for that one file. (That creates a framepointer)
This solution seems less than optimum.
In doing some debugging I discovered that the contents of the function
body effect weither or not the function gets a frame pointer.
As I need to know the stack frame size for this function...
for an assembly language task switching call...
Is there any magic that I can add to the source file to force it to always
have a frame pointer?
Paul
_______________________________________________
New CrossGCC FAQ: http://www.objsw.com/CrossGCC
_______________________________________________
To remove yourself from the crossgcc list, send
mail to crossgcc-request@cygnus.com with the
text 'unsubscribe' (without the quotes) in the
body of the message.