-
-
Save q66/978ca271db9ea32c8641209eb90f2f85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/src.freebsd/sh/memalloc.c | |
+++ b/src.freebsd/sh/memalloc.c | |
@@ -208,6 +208,7 @@ setstackmark(struct stackmark *mark) | |
mark->stackp = stackp; | |
mark->stacknxt = stacknxt; | |
mark->stacknleft = stacknleft; | |
+ printf("SETSTACKMARK %p\n", mark); | |
/* Ensure this block stays in place. */ | |
if (stackp != NULL && stacknxt == SPACE(stackp)) | |
stalloc(1); | |
@@ -220,6 +221,7 @@ popstackmark(struct stackmark *mark) | |
struct stack_block *sp; | |
INTOFF; | |
+ printf("POPSTACKMARK %p %p\n", mark, stackp); | |
while (stackp != mark->stackp) { | |
sp = stackp; | |
stackp = sp->prev; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment