>>>>> "SM" == Scott McDermott <[EMAIL PROTECTED]> writes:
SM> Does adding debugging information make an executable run through its
SM> code paths slower, or will there be no significant difference?
There should be no code difference. Only extra (non-executable)
sections added to the executable so it just takes up more space on disk.
SM> How about
SM> its memory footprint...hideously bloated, or only marginally
SM> different?
There should be no difference.
SM> I'm currently rebuilding my system, and debating whether I should strip
SM> the binaries, because I will often have a bug arise and have occasion to
SM> use GDB; I'd also like to be able to step through eg shared libraries
SM> while debugging some code...does this require explicit linking to a
SM> debugging library (like libc_g or something...I forget its exact
SM> name)?
There is a small hook or two, but I believe all you need is an
uptodate gdb for that. The only that really requires recompilation,
and performance impact is profiling.
Eric