libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Small patch for Frysk


From: Andrew Cagney
Subject: Re: [Libunwind-devel] Small patch for Frysk
Date: Wed, 08 Aug 2007 09:33:04 -0400
User-agent: Thunderbird 1.5.0.12 (X11/20070530)

[Jose thanks for re-pushing this.]

Arun Sharma wrote:
On 8/7/07, David Mosberger-Tang <address@hidden> wrote:
Jose,

The function is rather low-level and as such there is a risk that the
interface is not really portable across platforms.  The implementation
is obviously DWARF-specific, so src/mi/ isn't really the right place
for it, but that's a minor detail.

Why does Frysk need this operation?


This one has come up before:

http://www.mail-archive.com/address@hidden/msg00107.html

I think there are two use cases:

a) Unwind a stack in an i386 address space running on a x86-64 kernel.
b) Unwind statically linked binaries on any dwarf platform (where
dl_iterate_phdr doesn't find the unwind table).
Yes, and in particular any remote unwinding involving dwarf.
Like David suggested, putting this code under dwarf and making
statically linked binaries work might be a good first step.  The way
the patch stands now, it adds an API that nothing in the tree actually
uses.

Subsequently we can consider support for cross ABI unwinding
(hopefully it'll be an even smaller patch).
I was given the impression that this worked; but it seems to only really work with ia64 on i386.

Andrew




reply via email to

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