From: Gerd Moellmann Date: Thu, 24 Aug 2000 11:42:33 +0000 (+0000) Subject: (mark_byte_stack): Add a comment. X-Git-Tag: emacs-pretest-21.0.90~1993 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dff13d039cf164c545d3ea95d3cddef3370eac89;p=emacs.git (mark_byte_stack): Add a comment. --- diff --git a/src/bytecode.c b/src/bytecode.c index 22c41920cc7..a99860bd8cd 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -272,6 +272,13 @@ mark_byte_stack () for (stack = byte_stack_list; stack; stack = stack->next) { + /* If STACK->top is null here, this means there's an opcode in + Fbyte_code that wasn't expected to GC, but did. To find out + which opcode this is, record the value of `stack', and walk + up the stack in a debugger, stopping in frames of Fbyte_code. + The culprit is found in the frame of Fbyte_code where the + address of its local variable `stack' is equal to the + recorded value of `stack' here. */ if (!stack->top) abort ();