libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libunwind] dlopen() and libunwind()


From: David Mosberger-Tang
Subject: Re: [libunwind] dlopen() and libunwind()
Date: Tue, 27 Sep 2005 08:35:08 -0700

You shouldn't have to do anything.  dlopen() will add the newly opened
library to the list of shared objects such that dl_iterate_phdr() can
find it.  If that doesn't work, something is broken.

  --david

On 9/22/05, Peter Chubb <address@hidden> wrote:
>
> Hi folks,
>    Is there a *simple* way to tell libunwind to grab all the unwind
> info, symbol table, etc.,  from an ELF file?  It must be able to do
> this, but I couldn't find a documented interface.
>
>   The reason is that I'm working on a virtual machine interface, and
> want to get a backtrace for the guest OS.  I know I can parse the ELF
> file, and then use the libunwind-dynamic stuff, but that appears
> overly complex for what I want... as libunwind must already be able to
> parse the ELF file to get the info.
>
> --
> Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
> The technical we do immediately,  the political takes *forever*
> _______________________________________________
> libunwind mailing list
> address@hidden
> http://www.hpl.hp.com/hosted/linux/mail-archives/libunwind/
>


--
Mosberger Consulting LLC, voice/fax: 510-744-9372,
http://www.mosberger-consulting.com/
35706 Runckel Lane, Fremont, CA 94536


reply via email to

[Prev in Thread] Current Thread [Next in Thread]