[Ffmpeg-devel] [PATCH] fomit-frame-pointer disable when optimizations disabled
Mon Jul 24 09:01:31 CEST 2006
On Mon, Jul 24, 2006 at 09:35:45AM +1000, Nigel Pearson wrote:
> Graham, I think your message was a reply to a different message
> (Enforcing "Image Size Must Be Even" rules), so it may be missed by
> the developers. You may have to resend in a week or so if you don't
> get any other responses to it.
> >I found that when -fomit-frame-pointer is enabled, it is very
> >difficult to trace within ffmpeg using gdb. The following patch
> >modifies the configure script so that if the user disables
> >optimizations, then the -fomit-frame-pointer is not used. Since
> >omitting the frame pointer is an optimization in my mind, I figured
> >this would be a good way to switch on it.
> 1) Agree that it should only be in there if optimising
> (which hopefully means not debugging).
Optimization does not imply not debugging. I've never disabled
optimizations for the sake of debugging, or any other purpose except
working around or testing for gcc bugs. Disabling -fomit-frame-pointer
needs to be done by --enable-debug or something like that...
More information about the ffmpeg-devel