|
From: <sv...@va...> - 2011-10-08 09:01:13
|
Author: bart
Date: 2011-10-08 09:56:27 +0100 (Sat, 08 Oct 2011)
New Revision: 12122
Log:
drd: Use Vg_DebugMsg for debug messages
Modified:
trunk/drd/drd_semaphore.c
Modified: trunk/drd/drd_semaphore.c
===================================================================
--- trunk/drd/drd_semaphore.c 2011-10-08 08:54:57 UTC (rev 12121)
+++ trunk/drd/drd_semaphore.c 2011-10-08 08:56:27 UTC (rev 12122)
@@ -56,7 +56,7 @@
tl_assert(sg);
n = VG_(addToXA)(p->last_sem_post_seg, &sg);
#if 0
- VG_(message)(Vg_UserMsg, "0x%lx push: added at position %ld/%ld",
+ VG_(message)(Vg_DebugMsg, "0x%lx push: added at position %ld/%ld",
p->a1, n, VG_(sizeXA)(p->last_sem_post_seg));
#endif
tl_assert(*(Segment**)VG_(indexXA)(p->last_sem_post_seg, n) == sg);
@@ -70,7 +70,7 @@
sz = VG_(sizeXA)(p->last_sem_post_seg);
#if 0
- VG_(message)(Vg_UserMsg, "0x%lx pop: removed from position %ld/%ld",
+ VG_(message)(Vg_DebugMsg, "0x%lx pop: removed from position %ld/%ld",
p->a1, sz - 1, sz);
#endif
sg = 0;
|