mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-10 14:00:21 +02:00
* module/system/repl/repl.scm (default-pre-unwind-handler): Save the VM stack in addition to the interpreter stack. At some point these functions should know about each other, I guess. (default-catch-handler): Show the VM stack too. Needs a bit of work. * module/system/vm/frame.scm: Export make-frame-chain. * module/system/vm/vm.scm: Export vm-save-stack. * src/vm.c (scm_vm_save_stack): New function, heapifies the current stack, saving it to vm->last_frame. * src/vm_engine.c (vm_run:vm_error): Don't heapify frames here, because nonlocal exits avoid this code entirely. Instead rely on the user saving the stack with a pre-unwind handler, as the repl does. |
||
---|---|---|
.. | ||
language | ||
system | ||
.cvsignore | ||
Makefile.am |