comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: addr2line and shared libraries
Date: Fri, 21 May 2004 15:35:52 +0200
Date: 2004-05-21T15:34:43+02:00	[thread overview]
Message-ID: <87zn81hphj.fsf@insalien.org> (raw)
In-Reply-To: mailman.5.1085143618.401.comp.lang.ada@ada-france.org

"Sébastien" Thoos writes:
> I am trying to find out how to use the addr2line command with shared
> librairies.
>
> I have non-symbolic output but can't get a complete symbolic
> output. I stop having source information as soon as the code enters
> the shared library.

It looks like you have compiled your shared libraries without dbugging
symbols.

If you use shared libraries straight from your distribution, chances
are they've been stripped of their debugging symbols; this is the
policy on Debian, for example.  On Debian, as a matter of policy, the
-dev package for each library provides a static library with debugging
symbols.  If you link against it, addr2line should work.  I can't
speak for other distros; you may have to recompile the library.

-- 
Ludovic Brenta.



      reply	other threads:[~2004-05-21 13:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21 12:46 addr2line and shared libraries S�bastien Thoos
2004-05-21 13:35 ` Ludovic Brenta [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox