[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Re: [openrisc] Function prologue and stack frame



Something else I should mention:

 

To get usable backtraces from gdb requires that the code makes use of frame pointers.  However, gcc seems to optimize out the use of frame pointers even when optimization is turned off and it is passed the –g command-line option (to generate debugging information).  Hence, when debugging OpenRISC code, I add the gcc command-line option –fno-omit-frame-pointer.

 

-Scott