|
From: <sv...@va...> - 2007-08-29 09:11:35
|
Author: sewardj
Date: 2007-08-29 10:11:35 +0100 (Wed, 29 Aug 2007)
New Revision: 6791
Log:
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.)
Modified:
trunk/coregrind/m_scheduler/scheduler.c
Modified: trunk/coregrind/m_scheduler/scheduler.c
===================================================================
--- trunk/coregrind/m_scheduler/scheduler.c 2007-08-28 21:52:45 UTC (rev 6790)
+++ trunk/coregrind/m_scheduler/scheduler.c 2007-08-29 09:11:35 UTC (rev 6791)
@@ -1045,10 +1045,14 @@
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));
|