It doesn't appear to be documented, but it appears that uregs[R_FP]
will give you the value.  (At least on SPARC, you'll need to know
which register the FP is stored in on x86.)

Chad

On Fri, May 7, 2010 at 3:38 PM, tester <solaris.ident...@gmail.com> wrote:
> Hello,
>
> How can I access frame pointer? I am trying to get a variable value. Here is 
> the disassembly of the function.
>
> function+0x208:    st        %l0, [%fp - 0xc]
>
> I am trying to the value at [%fp - 0xc]
>
> Thanks
> --
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss@opensolaris.org
>
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to