Added support for POSIX reader-writer locks. Modified exp-drd/tests/filter-stderr such that i386 and AMD64 now generate the same output. Removed *.stderr.exp2 files. Added section that explains differences between LinuxThreads and NPTL to exp-drd/docs/README.txt. Made error message about LinuxThreads more clear. Made error messages more uniform.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7531 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/exp-drd/drd_error.h b/exp-drd/drd_error.h
index 9dfdd61..6607366 100644
--- a/exp-drd/drd_error.h
+++ b/exp-drd/drd_error.h
@@ -44,7 +44,8 @@
CondDestrErr = 5,
SemaphoreErr = 6,
BarrierErr = 7,
- GenericErr = 8,
+ RwlockErr = 8,
+ GenericErr = 9,
} DrdErrorKind;
/* The classification of a faulting address. */
@@ -113,6 +114,10 @@
} BarrierErrInfo;
typedef struct {
+ Addr rwlock;
+} RwlockErrInfo;
+
+typedef struct {
} GenericErrInfo;
void describe_addr(Addr const a, SizeT const len, AddrInfo* const ai);