From: Bart Van Assche Date: Tue, 20 Oct 2009 18:13:26 +0000 (+0000) Subject: Fixed an assertion failure triggered by running DRD with the command-line option... X-Git-Tag: svn/VALGRIND_3_6_0~505 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ead7766abe84adcde2999fbdcbb1c2802164fdf9;p=thirdparty%2Fvalgrind.git Fixed an assertion failure triggered by running DRD with the command-line option --trace-mutex=yes on a program using one of the ANNOTATE_HAPPENS_*() macros. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10904 --- diff --git a/drd/drd_mutex.c b/drd/drd_mutex.c index 65cf04632a..cf5a4a86ec 100644 --- a/drd/drd_mutex.c +++ b/drd/drd_mutex.c @@ -464,6 +464,8 @@ const char* DRD_(mutex_type_name)(const MutexT mt) return "mutex"; case mutex_type_spinlock: return "spinlock"; + case mutex_type_order_annotation: + return "order annotation mutex"; default: tl_assert(0); }