From: Bart Van Assche Date: Sat, 8 Oct 2011 08:56:27 +0000 (+0000) Subject: drd: Use Vg_DebugMsg for debug messages X-Git-Tag: svn/VALGRIND_3_7_0~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92017bcd5916aa9f513f10eb78ad7426ab6a60c3;p=thirdparty%2Fvalgrind.git drd: Use Vg_DebugMsg for debug messages git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12122 --- diff --git a/drd/drd_semaphore.c b/drd/drd_semaphore.c index 314c2f7611..3d2808985c 100644 --- a/drd/drd_semaphore.c +++ b/drd/drd_semaphore.c @@ -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;