From 7cd6f521ccf2b543daa82da22437e3e4599ece91 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 18 Nov 2005 14:59:00 +0000 Subject: [PATCH] Update documentation about --show-below-main. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5189 --- docs/valgrind.1 | 8 +++++--- docs/xml/manual-core.xml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/docs/valgrind.1 b/docs/valgrind.1 index a02c471cb3..beb47717bf 100644 --- a/docs/valgrind.1 +++ b/docs/valgrind.1 @@ -269,9 +269,11 @@ regression tests or have some other automated test machinery. .B --show-below-main= [default: no] When enabled, this option causes full stack backtraces to be emited, -including the part before \fBmain\fP in your program (subject to the -\fB--num-callers\fP option.) When disabled, only the part of the stack -backtrace up to and including main is printed. +including the part before \fBmain\fP (or similar functions such as glibc's +\fB__libc_start_main\fP, if \fBmain\fP is not present in the stack trace) in +your program (subject to the \fB--num-callers\fP option.) When disabled, +only the part of the stack backtrace up to and including \fBmain\fP is +printed. .TP .B diff --git a/docs/xml/manual-core.xml b/docs/xml/manual-core.xml index a493240efd..83dbd9a1f8 100644 --- a/docs/xml/manual-core.xml +++ b/docs/xml/manual-core.xml @@ -808,9 +808,11 @@ errors, e.g. Memcheck, but not Cachegrind. [default] By default, stack traces for errors do not show any functions that appear beneath - main(); most of the time - it's uninteresting C library stuff. If this option is - enabled, these entries below + main() (or similar functions + such as glibc's __libc_start_main(), if + main() is not present in the stack + trace); most of the time it's uninteresting C library stuff. If this + option is enabled, these entries below main() will be shown. -- 2.47.2