libunwind-devel
[Top][All Lists]
Advanced

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

Re: [Libunwind-devel] Explicitly exporting CFA


From: David Mosberger-Tang
Subject: Re: [Libunwind-devel] Explicitly exporting CFA
Date: Mon, 3 Dec 2007 09:50:18 -0700

I don't have any objection to adding a pseudo-register for DWARF.
Arun, what do you think of this?

  --david

On 12/3/07, Mark Wielaard <address@hidden> wrote:
> Hi,
>
> For frysk it is beneficial to get at the Canonical Frame Address from a
> cursor (to check during stepping whether we are still in the same
> function invocation, opposed to in some recursive invocation). But there
> is no architecture independent way to get at it. Since the cfa is kept
> in the dwarf cursor would it make sense to expose it explicitly as a
> pseudo (read-only) register UNW_REG_CFA you can fetch through
> unw_get_reg? (Currently we unwind one step and take the SP and see if it
> changed).
>
> Cheers,
>
> Mark
>
>
>
> _______________________________________________
> Libunwind-devel mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/libunwind-devel
>


-- 
Mosberger Consulting LLC, http://www.mosberger-consulting.com/




reply via email to

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