diff options
author | Ori Bernstein <ori@eigenstate.org> | 2017-07-06 22:27:50 -0700 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2017-07-06 22:27:50 -0700 |
commit | 5889fbb13b415134e0d5b094359e351f5ff94fc3 (patch) | |
tree | c6ab6bb3f28a2328f0a2a6ab686a68547297ef41 | |
parent | 9fac732aba4712fb34231a429c9ce5db921c0564 (diff) | |
download | mc-5889fbb13b415134e0d5b094359e351f5ff94fc3.tar.gz |
Don't lose the topmost stack frame in acid stack traces.
-rw-r--r-- | support/acid/myr | 5 |
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)); |