|
From: <sv...@va...> - 2005-07-08 18:23:50
|
Author: sewardj
Date: 2005-07-08 19:23:40 +0100 (Fri, 08 Jul 2005)
New Revision: 4133
Log:
Check the obvious ..
Modified:
trunk/coregrind/m_threadstate.c
Modified: trunk/coregrind/m_threadstate.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_threadstate.c 2005-07-08 09:46:53 UTC (rev 4132)
+++ trunk/coregrind/m_threadstate.c 2005-07-08 18:23:40 UTC (rev 4133)
@@ -60,6 +60,7 @@
ThreadState *VG_(get_ThreadState)(ThreadId tid)
{
vg_assert(tid >=3D 0 && tid < VG_N_THREADS);
+ vg_assert(VG_(threads)[tid].tid =3D=3D tid);
return &VG_(threads)[tid];
}
=20
|