[FFmpeg-devel] [PATCH] Source level debug

Dominik 'Rathann' Mierzejewski dominik
Mon Mar 3 14:15:34 CET 2008


On Monday, 03 March 2008 at 14:03, Panagiotis Issaris wrote:
> Benjamin Larsson schreef:
> > Rich Felker wrote:
> >> [...]
> >>   
> >>> I would, however, prefer the level being an
> >>> argument to --enable-debug rather than a whole new flag.
> >>>     
> >> I agree. I'd also like it if --disable-debug were the default, but I
> >> doubt others will be happy with that..
> >>
> >> Rich
> >>   
> > 
> > I prefer that FFmpeg is compiled default with -g. It makes it easy for 
> > people to submit bug reports without recompiling FFmpeg. And I also 
> > support the use of an argument to --enable-debug instead of the proposed 
> > patch. And all compilers might not have -g levels. So I'll try to submit 
> > a patch adding argument handling.
> 
> I've noticed that some projects (or was it distros) put the debugging 
> symbols in a separate file, so there's no duplication of executable 
> code. So, no ffmpeg_g en ffmpeg, but just one ffmpeg and a ffmpeg.dbg 
> file containing only the debugging symbols. I've never used it myself 
> like that, but I like the idea.

Fedora has been doing this for a few releases now (using so-called
'debuginfo' packages).

Regards,
R.

-- 
MPlayer developer and RPMs maintainer: http://mplayerhq.hu http://rpm.livna.org
There should be a science of discontent. People need hard times and
oppression to develop psychic muscles.
	-- from "Collected Sayings of Muad'Dib" by the Princess Irulan




More information about the ffmpeg-devel mailing list