434de8db8d
to read the value of the stack pointer register, snap used Machdata->szreg to determine the width of the SP register in the Ureg structure. however, the value does not match the Ureg.sp type for a number of architectures (mips2, amd64) and it is unclear if this was an oversight as it is rarely used (snap is indeed the only user) or if it was intended for a different purpose. so we use szaddr instead which matches the stack pointer width in the Ureg and fixes the truncated stack issue on amd64. |
||
---|---|---|
.. | ||
mkfile | ||
read.c | ||
snap.c | ||
snap.h | ||
snapfs.c | ||
take.c | ||
util.c | ||
write.c |