On Monday 16 February 2009 17:11:20 ERSEK Laszlo wrote: > Don Armstrong wrote: > > If you plan on being able to debug the binaries that you've released, > > you almost certainly need the debbugging symbols that match the > > binaries that you've released. > > > > In Debian we currently aren't collecting all of the debugging symbols, > > so doing the above is difficult for packages which don't provide a > > -dbg package, but this is almost certainly a direction that we're > > going to be moving in. > > Are object files built with -O3 (-finline-functions) debuggable at all? IME, yes. It isn't as easy as with -O0 or -O2, particularly because sometimes the backtraces "don't make sense" (a function call is elided) or (as with -O2) a variable's lifetime has gotten shorter, but it is still possible. In particular, a backtrace will generally still tell you what library/program to -O0 so that you can bring the full power of gdb to bear. Because gdb (et al) is still able to match the function addresses on the stack with the -g3 generated symbols. -- Boyd Stephen Smith Jr. ,= ,-_-. =. firstname.lastname@example.org ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
Description: This is a digitally signed message part.