[CM] C Stack Unwinding

Woody Douglass wdouglass at carnegierobotics.com
Wed Nov 10 11:11:16 PST 2021

Ok, attached is the revised patch. I did have to resort to making a
copy of the jmp_buf on the (C) stack, but it's better then one in every
cell! let me know what you think.


On Wed, 2021-11-10 at 18:52 +0000, Woody Douglass wrote:
> that makes a ton of sense, i guess we could just point to the buffer
> that's already on the stack. I'll send a revised patch in a bit
> On Wed, 2021-11-10 at 10:43 -0800, bil at ccrma.Stanford.EDU wrote:
> > Thanks -- that looks interesting.  One problem is that
> > a Jmp_Buf takes 200 bytes, so the s7_cell size is now
> > 240 bytes (rather than 48) -- I think we'd want a
> > pointer to a Jmp_Buf.
> > 
> _______________________________________________
> Cmdist mailing list
> Cmdist at ccrma.stanford.edu
> https://cm-mail.stanford.edu/mailman/listinfo/cmdist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Store-a-Jmp_Buf-with-each-catch-object-and-jump-to-i.patch
Type: text/x-patch
Size: 4772 bytes
Desc: 0001-Store-a-Jmp_Buf-with-each-catch-object-and-jump-to-i.patch
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20211110/4c450c3c/attachment-0001.bin>

More information about the Cmdist mailing list