From: Bart Van Assche Date: Thu, 12 Jun 2008 15:20:42 +0000 (+0000) Subject: Started converting README.txt into drd-manual.xml. X-Git-Tag: svn/VALGRIND_3_4_0~477 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb6843170663cf8804508b0a047fd2504473355c;p=thirdparty%2Fvalgrind.git Started converting README.txt into drd-manual.xml. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8227 --- diff --git a/exp-drd/docs/Makefile.am b/exp-drd/docs/Makefile.am index bec1ba22f8..9d6f5f4778 100644 --- a/exp-drd/docs/Makefile.am +++ b/exp-drd/docs/Makefile.am @@ -1 +1 @@ -EXTRA_DIST = README.txt +EXTRA_DIST = drd-manual.xml diff --git a/exp-drd/docs/drd-manual.xml b/exp-drd/docs/drd-manual.xml new file mode 100644 index 0000000000..049c91d7de --- /dev/null +++ b/exp-drd/docs/drd-manual.xml @@ -0,0 +1,125 @@ + + %vg-entities; ]> + + + + DRD: a thread error detector + +To use this tool, you must specify +--tool=exp-drd +on the Valgrind command line. + + +Overview + + +DRD is a Valgrind tool for detecting errors in multithreaded C and C++ +programs that use the POSIX threading primitives, also known as +pthreads. POSIX threads is the most widely available threading library +on Unix systems. + + + +The next section provides + +background information about multithreading. + + + +DRD can detect two classes of errors, which are discussed in detail: + + + + + + Misuses of the POSIX threads API. + + + + Data races -- accessing memory without adequate locking. + + + + +Then there is a +summary of command-line +options. + + +Finally, there is a section about the current +limitations +of DRD. + + + + + + +Multithreaded Programming + + + + +Detected errors: Misuses of the POSIX threads API + + + + +Detected errors: Data Races + + + + +DRD Options + +The following end-user options are available: + + + + + + + +In addition, the following debugging options are available for +DRD: + + + + + + + +DRD Limitations + +DRD currently has the following limitations: + + + DRD has only been tested on the Linux operating + system, and not on any of the other operating systems supported by + Valgrind. + + Of the two POSIX threads implementations for Linux, + only the NPTL (Native POSIX Thread Library) is supported. The older + LinuxThreads library is not supported. + + When running DRD on a PowerPC CPU, DRD will report + false positives on atomic operations. See also bug 162354. + + DRD, just like memcheck, will refuse to + start on Linux distributions where all symbol information has been + removed from ld.so. This is e.g. the case for openSUSE 10.3 -- see + also bug 396197. + + If you compile the DRD sourcecode yourself, you need + gcc 3.0 or later. gcc 2.95 is not supported. + + + + + + +