ref: 04533d17c0b822121016ad48954aa05ca3b719d3
dir: /support/acid/myr/
// acid support for Myrddin.
// Myrddin doesn't use the Plan 9 ABI, so we
// define our own stack function.
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));
file = pcfile(*(b + 8));
func = fmt(*(b + 8), 'a');
print(file, ":", line, ":\t", func, "\n");
b = *b;
}
}