libunwind-devel
[Top][All Lists]
Advanced

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

Re: [libunwind] How does libunwind find the PFS, the return address and


From: Jim Wilson
Subject: Re: [libunwind] How does libunwind find the PFS, the return address and the alloc instruction?
Date: 08 Dec 2003 10:24:11 -0800

On Mon, 2003-12-08 at 01:46, Johan Walles wrote:
> When unwinding the stack on IA64, how does libunwind find the alloc 
> instruction, 
> the register in which the PFS is stored, and the register in which the return 
> address is stored?

You might want to read the documentation available on the Intel
developer web site about IA-64 unwind info.  See
        http://developer.intel.com/design/itanium2/
Under the "Software Specifications" menu on the left, see the Itanium
Software Conventions and Runtime Architecture Guide"  See also the
processor specific ABI (psABI) document.  You may also want to look at
other documentation.

This isn't libunwind documentation, but it will help you understand what
libunwind does, and how it works.

IA-64 unwind info can be pretty-printed by readelf -u, if you want to
see examples.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



reply via email to

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