]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
drd: Use Vg_DebugMsg for debug messages
authorBart Van Assche <bvanassche@acm.org>
Sat, 8 Oct 2011 08:56:27 +0000 (08:56 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sat, 8 Oct 2011 08:56:27 +0000 (08:56 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12122

drd/drd_semaphore.c

index 314c2f7611ba3672f8475a50fa91d0be401482af..3d2808985c9c23f6a8138d77afbdf40449a28f46 100644 (file)
@@ -56,7 +56,7 @@ static void drd_segment_push(struct semaphore_info* p, Segment* sg)
    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 @@ static Segment* drd_segment_pop(struct semaphore_info* p)
 
    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;