From: Julian Seward Date: Wed, 29 Aug 2007 09:11:35 +0000 (+0000) Subject: Valgrind-side changes to track vx1786 (which was: Support x86 $int X-Git-Tag: svn/VALGRIND_3_3_0~227 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=96487743822dea51a352082f8fee77671982bc44;p=thirdparty%2Fvalgrind.git Valgrind-side changes to track vx1786 (which was: Support x86 $int 0x40 .. 0x43 instructions on Linux. Apparently these generate a segfault and then restart the instruction.) git-svn-id: svn://svn.valgrind.org/valgrind/trunk@6791 --- diff --git a/coregrind/m_scheduler/scheduler.c b/coregrind/m_scheduler/scheduler.c index c3f09d05c3..cc69fd398c 100644 --- a/coregrind/m_scheduler/scheduler.c +++ b/coregrind/m_scheduler/scheduler.c @@ -1045,10 +1045,14 @@ VgSchedReturnCode VG_(scheduler) ( ThreadId tid ) break; } - case VEX_TRC_JMP_TRAP: + case VEX_TRC_JMP_SIGTRAP: VG_(synth_sigtrap)(tid); break; + case VEX_TRC_JMP_SIGSEGV: + VG_(synth_fault)(tid); + break; + case VEX_TRC_JMP_NODECODE: VG_(message)(Vg_UserMsg, "valgrind: Unrecognised instruction at address %p.", VG_(get_IP)(tid));