From 820d8da775d52bf4587b079ed918ba6b3e8fc3ed Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sun, 26 Feb 2012 09:46:56 -0700 Subject: [PATCH] Unfix "fix" to stack address printing in Debug_Stack_Trace. Silly me; STACK_LOC(0) is *not* a valid object. I don't know what gdb was trying to tell me... but 20 year old code doesn't lie. --- src/microcode/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microcode/debug.c b/src/microcode/debug.c index 8838cc2c3..c72730014 100644 --- a/src/microcode/debug.c +++ b/src/microcode/debug.c @@ -685,8 +685,8 @@ Back_Trace (outf_channel stream) break; } #endif - outf (stream, "{%#lx}", ((unsigned long) stack_pointer)); Temp = (STACK_POP ()); + outf (stream, "{%#lx}", ((unsigned long) stack_pointer)); if (RETURN_CODE_P (Temp)) { if (print_one_continuation_frame (stream, Temp)) -- 2.25.1