Hmm, I didn't really try to debug your patch. I followed its idea of also relocating dframe->vect and made the changes that seemed right.
Using offset = SCM_CONTREGS (stack)->stack - SCM_BASE(stack) looks right. The bug is probably elsewhere...
Fair enough, but when I compared your and my patches, they were identical except for
- the offset calculation and storage - two occurrences of x->id instead of x[0].id.
And I thought that mine didn't work ... Anyway, as long as yours does work now, it's probably not worth worrying about this further; it may be that I had an inconsistent build, or LD_LIBRARY not set properly, or something.
Neil
_______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://lists.gnu.org/mailman/listinfo/bug-guile