Red Hat Bugzilla – Bug 1447
libc installed with debugging info by default
Last modified: 2008-05-01 11:37:49 EDT
/usr/lib/libc-2.0.7.so and /usr/lib/libc.a are installed by
default with debugging symbols. The source is not installed
by default, this caused gdb to stop every time a C function
is stepped. The desired result is to simply step over the C
function as is the case in Redhat 4.2, SUSE, and Debian.
strip -g /usr/lib/libc.a reduces the file size from 7.5M to
~1.5M and cures the gdb problem for statically linked
binaries. a copy of /lib.libc-2.0.7.so goes from 3.5M to
~750K but I have yet to figure out how to get the programs
to link with the new lib. If this is NOT a bug what hte
proper switch to tell gdb not to crash every time a C
function is stepped over?
We will probably not change this for the next release of Red Hat.