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

Re: Mandatory -dbg packages for libraries?



Am Sonntag 22 April 2007 22:12 schrieb Russ Allbery:
> Hendrik Sattler <debian@hendrik-sattler.de> writes:
> > Am Sonntag 22 April 2007 21:39 schrieb Neil Williams:
> >> Apart from those limitations, is there a *technical* reason why -dbg
> >> packages should not be available? Is it worth taking to -policy?
> >
> > You essentially need to build all library packages 2 times, then.
>
> Actually, you don't.  See the features of dh_strip introduced at debhelper
> level V5.  And of course you can do the same thing by hand.
>
> gdb will read the resulting detached debugging symbols automatically.

Did you ever try to debug an application compiled with optimizations?
No, either you build an optimized version (-O2) or you build a debug version 
(-g). If you want to debug what was coded, you better compile without 
optimizations.

HS



Reply to: