1 --- valgrind-3.6.1/coregrind/m_debuginfo/debuginfo.c.orig 2010-10-20 22:19:43.000000000 +0200
2 +++ valgrind-3.6.1/coregrind/m_debuginfo/debuginfo.c 2011-08-03 01:18:33.724000500 +0200
4 case Cop_Sub: return wL - wR;
5 case Cop_And: return wL & wR;
6 case Cop_Mul: return wL * wR;
7 + case Cop_Shl: return wL << wR;
8 + case Cop_Shr: return wL >> wR;
9 + case Cop_Eq: return wL == wR ? 1 : 0;
10 + case Cop_Ge: return (Word) wL >= (Word) wR ? 1 : 0;
11 + case Cop_Gt: return (Word) wL > (Word) wR ? 1 : 0;
12 + case Cop_Le: return (Word) wL <= (Word) wR ? 1 : 0;
13 + case Cop_Lt: return (Word) wL < (Word) wR ? 1 : 0;
14 + case Cop_Ne: return wL != wR ? 1 : 0;
15 default: goto unhandled;
18 --- valgrind-3.6.1/coregrind/m_debuginfo/priv_storage.h.orig 2010-10-20 22:19:43.000000000 +0200
19 +++ valgrind-3.6.1/coregrind/m_debuginfo/priv_storage.h 2011-08-03 01:09:29.536000499 +0200
37 --- valgrind-3.6.1/coregrind/m_debuginfo/readdwarf.c.orig 2010-10-20 22:19:43.000000000 +0200
38 +++ valgrind-3.6.1/coregrind/m_debuginfo/readdwarf.c 2011-08-03 01:09:29.533000512 +0200
39 @@ -2831,6 +2831,22 @@
40 op = Cop_And; opname = "and"; goto binop;
42 op = Cop_Mul; opname = "mul"; goto binop;
44 + op = Cop_Shl; opname = "shl"; goto binop;
46 + op = Cop_Shr; opname = "shr"; goto binop;
48 + op = Cop_Eq; opname = "eq"; goto binop;
50 + op = Cop_Ge; opname = "ge"; goto binop;
52 + op = Cop_Gt; opname = "gt"; goto binop;
54 + op = Cop_Le; opname = "le"; goto binop;
56 + op = Cop_Lt; opname = "lt"; goto binop;
58 + op = Cop_Ne; opname = "ne"; goto binop;
62 --- valgrind-3.6.1/coregrind/m_debuginfo/storage.c.orig 2010-10-20 22:19:43.000000000 +0200
63 +++ valgrind-3.6.1/coregrind/m_debuginfo/storage.c 2011-08-03 01:09:29.535000503 +0200
65 case Cop_Sub: VG_(printf)("-"); break;
66 case Cop_And: VG_(printf)("&"); break;
67 case Cop_Mul: VG_(printf)("*"); break;
68 + case Cop_Shl: VG_(printf)("<<"); break;
69 + case Cop_Shr: VG_(printf)(">>"); break;
70 + case Cop_Eq: VG_(printf)("=="); break;
71 + case Cop_Ge: VG_(printf)(">="); break;
72 + case Cop_Gt: VG_(printf)(">"); break;
73 + case Cop_Le: VG_(printf)("<="); break;
74 + case Cop_Lt: VG_(printf)("<"); break;
75 + case Cop_Ne: VG_(printf)("!="); break;
76 default: vg_assert(0);