[Ffmpeg-devel] [PATCH] fomit-frame-pointer disable when optimizations disabled

Nigel Pearson nigel
Mon Jul 24 01:35:45 CEST 2006

	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).

2) Patch is in a Darwin-only GCC section - very safe.

3) Applies and works on todays SVN (r5816)

Developers, for what little my vote counts, Seconded.

Nigel Pearson, nigel at ind.tansu.com.au|"In this city I confess
Telstra Net. Eng., Sydney, Australia | god is mammon, more is less
Office: 9202 3900    Fax:  9261 3912 | off like lemmings at the gun
Mobile: 0408 664435  Home: 9792 6998 | I know better, still I run"

More information about the ffmpeg-devel mailing list