Fix many holes and bugs in an attempt to get my libpthread.so to export
the same set of symbols as the real one, which I now realise is crucial
for it to work at all.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@151 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/vg_to_ucode.c b/vg_to_ucode.c
index b1b2855..f06689d 100644
--- a/vg_to_ucode.c
+++ b/vg_to_ucode.c
@@ -3066,7 +3066,10 @@
}
/* Skip a LOCK prefix. */
- if (getUChar(eip) == 0xF0) eip++;
+ if (getUChar(eip) == 0xF0) {
+ /* VG_(printf)("LOCK LOCK LOCK LOCK LOCK \n"); */
+ eip++;
+ }
/* Crap out if we see a segment override prefix. */
if (getUChar(eip) == 0x65) {