From: Tom Hughes Date: Mon, 14 Nov 2005 15:01:32 +0000 (+0000) Subject: Update manual page. X-Git-Tag: svn/VALGRIND_3_1_0~108 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6f9faa809d6e6c366d670a2f14ac65559bf46153;p=thirdparty%2Fvalgrind.git Update manual page. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5124 --- diff --git a/docs/valgrind.1 b/docs/valgrind.1 index f74900535f..79637391f7 100644 --- a/docs/valgrind.1 +++ b/docs/valgrind.1 @@ -144,8 +144,8 @@ many errors. .TP .B ---gen-suppressions= [default: no] -When enabled, \fBvalgrind\fP will pause after every error shown and +--gen-suppressions= [default: no] +When set to \fByes\fP, \fBvalgrind\fP will pause after every error shown and print the line: .PP @@ -167,6 +167,10 @@ Pressing Ret or n Ret or N Ret will cause no suppression to be printed. .P Pressing C Ret or c Ret will cause no suppression to be printed and \fBvalgrind\fP will not ask again. + +.P +When set to \fall\fP, \fBvalgrind\fP will print suppressions for all +errors without asking any questions. .RE .TP @@ -186,6 +190,14 @@ including options for debugging \fBvalgrind\fP. Specify the file descriptor to use for reading input from the user. This is used whenever \fBvalgrind\fP needs to prompt the user for a decision. +.TP +.B +--log-fd= [default: 2, stderr] +Specifies that \fBvalgrind\fP should send all of its messages to +the specified file descriptor. The default, 2, is the standard error +channel (stderr). Note that this may interfere with the client's own +use of stderr. + .TP .B --log-file= @@ -197,23 +209,15 @@ per process. The specified file name may not be the empty string. .TP .B --log-file-exactly= -Just like \fB--log-file\fB, but the ".pid" suffix is not added. If you +Just like \fB--log-file\fP, but the ".pid" suffix is not added. If you trace multiple processes with Valgrind when using this option the log file may get all messed up. -.TP -.B ---log-fd= [default: 2, stderr] -Specifies that \fBvalgrind\fP should send all of its messages to -the specified file descriptor. The default, 2, is the standard error -channel (stderr). Note that this may interfere with the client's own -use of stderr. - .TP .B --log-file-qualifier= -Specifies that \fBvalgrind\fB should send all of its messages to the -file named by the environment variable \fB$VAR\fB. This is useful when +Specifies that \fBvalgrind\fP should send all of its messages to the +file named by the environment variable \fB$VAR\fP. This is useful when running MPI programs. .TP @@ -229,7 +233,14 @@ see section 2.3 of the user manual. .TP .B ---num-callers= [default=12] +--max-stackframe= [default: 2000000] +The maximum size of a stack frame - if the stack pointer moves by more +than this amount then \fBvalgrind\fP will assume that the program is +switching to a different stack. + +.TP +.B +--num-callers= [default: 12] By default, \fBvalgrind\fP shows 12 levels of function call names to help you identify program locations. You can change that number with this option. This can help in determining the program's location in @@ -304,6 +315,18 @@ tools only execute when the core version is one they are known to work with. This was done to minimise the chances of strange problems arising from tool-vs-core version incompatibilities. +.TP +.B +--xml= [default: no] +Generate output in XML format. Only \fBmemcheck\fP and \fBnulgrind\fP +currently support this option. + +.TP +.B +--xml-user-comment= +The specified string will be output at the start of the XML file +if XML output is requested. + .SH ADDRCHECK OPTIONS .TP @@ -344,7 +367,7 @@ four entries have to match. When \fBhigh\fP, all entries need to match. .TP .B ---partial-loads-ok= [default: yes] +--partial-loads-ok= [default: no] Controls how \fBaddrcheck\fP handles word (4-byte) loads from addresses for which some bytes are addressible and others are not. When enabled, such loads do not elicit an address error. Instead, \fBaddrcheck\fP @@ -377,16 +400,7 @@ Another option is to use a gcc/g++ which does not generate accesses below the stack pointer. 2.95.3 seems to be a good choice in this respect. .SH MEMCHECK OPTIONS -\fBmemcheck\fP understands the same options as \fBaddrcheck\fP, along -with the following options: - -.TP -.B ---avoid-strlen-errors= [default: yes] -Enable or disable a heuristic for dealing with highly-optimized versions -of \fBstrlen\fP. These versions of \fBstrlen\fP can cause spurious -errors to be reported by \fBmemcheck\fP, so it's usually a good idea to -leave this enabled. +\fBmemcheck\fP understands the same options as \fBaddrcheck\fP. .SH CACHEGRIND OPTIONS @@ -529,11 +543,17 @@ lax-ioctls hack tells \fBvalgrind\fP to be very lax about ioctl handling and assume that unknown ioctls just behave correctly. .TP .B -- enable-inner +- enable-outer Enable some special magic needed when the program being run is itself \fBvalgrind\fP. .RE +.TP +.B +--smc-check= [default: stack] +Control which areas of memory \fBvalgrind\fP should consider might +contain self modifying code. + .SH CORE DEBUGGING OPTIONS .TP