On Fri, May 07, 2010 at 12:38:02PM -0700, tester 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]
You can access the registers via the uregs[] array. See: http://wikis.sun.com/display/DTrace/User+Process+Tracing I don't think you can get at the registers of code executing in kernel- mode. Also, uregs[] only works for the current user-land stack frame. Nico -- _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org