On Mon, Jun 15, 2009 at 04:58:27PM -0700, Steve Gonczi wrote: > I see. > > The first number (which I always assumed was just > the numeric equivalent of the function+offset shown in the next column) > is the frame pointer for the associated stack frame. > > Presumably, the first line findstack prints is a typo: it calls the > value "stack pointer" I think it is really "frame pointer" ie it is > rbp, not rsp.
It's really a matter of terminology; it's called a "stack pointer" because it's a value you pass to "$C" or "::stack" to get a stack out. On SPARC, the stack pointer is *always* pointing to a stack frame, since that's where the register window is saved (register windows are *FUN*), and the term has stuck, even though on x86 "frame pointer" might be a better term. Cheers, - jonathan