summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2017-07-06 22:27:50 -0700
committerOri Bernstein <ori@eigenstate.org>2017-07-06 22:27:50 -0700
commit5889fbb13b415134e0d5b094359e351f5ff94fc3 (patch)
treec6ab6bb3f28a2328f0a2a6ab686a68547297ef41 /support
parent9fac732aba4712fb34231a429c9ce5db921c0564 (diff)
downloadmc-5889fbb13b415134e0d5b094359e351f5ff94fc3.tar.gz
Don't lose the topmost stack frame in acid stack traces.
Diffstat (limited to 'support')
-rw-r--r--support/acid/myr5
1 files changed, 5 insertions, 0 deletions
diff --git a/support/acid/myr b/support/acid/myr
index daaea06..70e6354 100644
--- 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));