commit 22ff01a1c9e44e890147cb80e27ab922a614b44d
parent 772ec67db3961cb8c06512e9602a53a2f1d87447
Author: Ember Sawady <ecs@d2evs.net>
Date: Fri, 3 Feb 2023 20:59:58 +0000
rt+riscv64::backtrace: fix
Signed-off-by: Ember Sawady <ecs@d2evs.net>
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rt/+riscv64/backtrace.ha b/rt/+riscv64/backtrace.ha
@@ -15,7 +15,7 @@ export fn backtrace() frame = {
addr = getfp()
};
// Skip the call to backtrace itself
- return nextframe(f) as frame;
+ return nextframe(fp) as frame;
};
// Returns the frame above the current frame, if any.