This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: Function symbol retention after stripping
- From: David Smith <dsmith at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Mon, 07 May 2012 14:19:20 -0500
- Subject: Re: Function symbol retention after stripping
On 05/07/2012 01:51 PM, Douglas, William wrote:
> Hi all,
>
> I'm trying to get gbd backtraces to give function names without having
> a package's debuginfo installed. Would elfutils take a patch allowing
> strip to take an option for keeping the minimal amount of information
> needed to do this?
>
> I'm still trying to figure out how to do this exactly but right now I
> think I would be keeping SHT_SYMTAB and SHT_DYNSYM function symbols
> but I haven't looked at this code before and I'm still trying to
> figure out how it all comes together. Any advice would be appreciated
> if you'd be okay with this functionality in elfutils.
William,
I can't answer for the elfutils library itself, but you might want to
look at/help out with a proposed new F18 feature called 'MiniDebugInfo',
which sounds similar to what you want to do.
<http://news.gmane.org/gmane.linux.redhat.fedora.devel>
<https://fedoraproject.org/wiki/Features/MiniDebugInfo>
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)