[Info-vax] debugging stack corruption on Macro64?
John Reagan
xyzzy1959 at gmail.com
Mon Mar 9 21:23:05 EDT 2015
On Monday, March 9, 2015 at 8:47:50 PM UTC-4, John E. Malmberg wrote:
>
> The original code from Philippe Vouters used a STACK routine.
>
> One of the things I am confused on is that Philippe's code stores R26 at
> 8(sp) and the Example 3-1 stores R26 at 16(SP).
>
That is one difference in the Calling Standards. The OpenVMS version special cases R26 and places it first in the register save area since stack walks are much more frequent on OpenVMS. You can always find the saved return address without looking at the bitmask and doing address arithmetic.
More information about the Info-vax
mailing list