Merge patch from JeremyF:
42-hg-show-all-locks
HELGRIND: show all the locks when a cycle is detected, because doing
it selectively is wrong for now.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1312 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/helgrind/hg_main.c b/helgrind/hg_main.c
index 32fc052..b7a849a 100644
--- a/helgrind/hg_main.c
+++ b/helgrind/hg_main.c
@@ -2547,7 +2547,8 @@
for(i = 0; i < heldset->setsize; i++) {
const Mutex *lsmx = heldset->mutex[i];
- if (!ismember(lsmx->lockdep, extra->mutex))
+ /* needs to be a recursive search+display */
+ if (0 && !ismember(lsmx->lockdep, extra->mutex))
continue;
VG_(message)(Vg_UserMsg, " %p%(y last locked at",