shithub: mc

Download patch

ref: 5889fbb13b415134e0d5b094359e351f5ff94fc3
parent: 9fac732aba4712fb34231a429c9ce5db921c0564
author: Ori Bernstein <ori@eigenstate.org>
date: Thu Jul 6 18:27:50 EDT 2017

Don't lose the topmost stack frame in acid stack traces.

--- a/support/acid/myr
+++ b/support/acid/myr
@@ -5,6 +5,11 @@
 defn myrstk()
 {
 	local b
+
+	line = pcline(*SP);
+	file = pcfile(*SP);
+	print(file, ":", line, ":\t", func, "\n");
+
 	b = *BP;
 	while *b do {
 		line = pcline(*(b + 8));