svm: Fix continue_from_trap.
authorMatt Birkholz <puck@birchwood-abbey.net>
Fri, 10 Oct 2014 23:57:02 +0000 (16:57 -0700)
committerMatt Birkholz <puck@birchwood-abbey.net>
Fri, 10 Oct 2014 23:57:02 +0000 (16:57 -0700)
commite6df3e1210719a3578f0172a94b181d873257f10
tree55380e838481821348268c2432ac01b44a1bf6d6
parent4ca9dbd244fa3d158a779a6ebf17e73a9b7f7e22
svm: Fix continue_from_trap.

Signal handlers always find an unknown pc when the svm interpreter is
running.  This patch extracts the virtual machine's instruction
pointer for classify_pc in the hope that the compiled code block can
be located.
src/microcode/cmpintmd/svm1.h
src/microcode/svm1-interp.c
src/microcode/uxtrap.c