Red Hat Bugzilla – Bug 85403
Add an option to turn off stripping debug info
Last modified: 2008-05-01 11:38:05 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 Galeon/1.2.7 (X11; Linux i686; U;) Gecko/20030131
Description of problem:
Can we have an option that turns off the automatic stripping of debug info and
whatnot from the executables that are built?
No matter. I just realised how to add debug information to gdb from the debug
files that rpmbuild now creates. Cool.
For peoples info - in case this gets searched on, just go to
/usr/lib/debug/usr/bin/ and find the debug file. Once you've invoked a gdb
session, all that you have to do is type in add-symbol-file <name>