[Info-vax] debugging stack corruption on Macro64?
John E. Malmberg
wb8tyw at qsl.network
Mon Mar 9 21:45:01 EDT 2015
On 3/9/2015 8:23 PM, John Reagan wrote:
> 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.
Philippe Vouter code is also OpenVMS specific.
Regards,
-John
More information about the Info-vax
mailing list