projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f5c1e
)
Unfix "fix" to stack address printing in Debug_Stack_Trace.
author
Matt Birkholz
<matt@birkholz.chandler.az.us>
Sun, 26 Feb 2012 16:46:56 +0000
(09:46 -0700)
committer
Matt Birkholz
<matt@birkholz.chandler.az.us>
Sun, 26 Feb 2012 16:46:56 +0000
(09:46 -0700)
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
patch
|
blob
|
history
diff --git
a/src/microcode/debug.c
b/src/microcode/debug.c
index 8838cc2c347a26014eb08719f5cc8bf07e3a8088..c727300149a0ab5e0642df758c55ffb7ffc6b60f 100644
(file)
--- 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))