Author: sewardj
Date: Wed Sep 3 21:58:54 2014
New Revision: 14447
Log:
Slightly change the help text for some options that involve
user-supplied enumeration values.
Modified:
trunk/coregrind/m_main.c
trunk/gdbserver_tests/mchelp.stdoutB.exp
trunk/memcheck/mc_main.c
trunk/none/tests/cmdline1.stdout.exp
trunk/none/tests/cmdline2.stdout.exp
Modified: trunk/coregrind/m_main.c
==============================================================================
--- trunk/coregrind/m_main.c (original)
+++ trunk/coregrind/m_main.c Wed Sep 3 21:58:54 2014
@@ -109,7 +109,8 @@
" to get started quickly, use --vgdb-error=0\n"
" and follow the on-screen directions\n"
" --vgdb-stop-at=event1,event2,... invoke gdbserver for given events [none]\n"
-" where event is one of startup exit valgrindabexit all none\n"
+" where event is one of:\n"
+" startup exit valgrindabexit all none\n"
" --track-fds=no|yes track open file descriptors? [no]\n"
" --time-stamp=no|yes add timestamps to log messages? [no]\n"
" --log-fd=<number> log messages to file descriptor [2=stderr]\n"
@@ -176,7 +177,8 @@
" --vgdb-prefix=<prefix> prefix for vgdb FIFOs [%s]\n"
" --run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]\n"
" --sim-hints=hint1,hint2,... activate unusual sim behaviours [none] \n"
-" where hint is one of lax-ioctls fuse-compatible enable-outer\n"
+" where hint is one of:\n"
+" lax-ioctls fuse-compatible enable-outer\n"
" no-inner-prefix no-nptl-pthread-stackcache none\n"
" --fair-sched=no|yes|try schedule threads fairly on multicore systems [no]\n"
" --kernel-variant=variant1,variant2,...\n"
Modified: trunk/gdbserver_tests/mchelp.stdoutB.exp
==============================================================================
--- trunk/gdbserver_tests/mchelp.stdoutB.exp (original)
+++ trunk/gdbserver_tests/mchelp.stdoutB.exp Wed Sep 3 21:58:54 2014
@@ -29,13 +29,14 @@
[increased*|changed|any]
[unlimited*|limited <max_loss_records_output>]
* = defaults
- where kind is one of definite indirect possible reachable all none
- where heur is one of stdstring length64 newarray
- multipleinheritance all none*
- Examples: leak_check
- leak_check summary any
- leak_check full kinds indirect,possible
- leak_check full reachable any limited 100
+ where kind is one of:
+ definite indirect possible reachable all none
+ where heur is one of:
+ stdstring length64 newarray multipleinheritance all none*
+ Examples: leak_check
+ leak_check summary any
+ leak_check full kinds indirect,possible
+ leak_check full reachable any limited 100
block_list <loss_record_nr>
after a leak search, shows the list of blocks of <loss_record_nr>
who_points_at <addr> [<len>]
@@ -87,13 +88,14 @@
[increased*|changed|any]
[unlimited*|limited <max_loss_records_output>]
* = defaults
- where kind is one of definite indirect possible reachable all none
- where heur is one of stdstring length64 newarray
- multipleinheritance all none*
- Examples: leak_check
- leak_check summary any
- leak_check full kinds indirect,possible
- leak_check full reachable any limited 100
+ where kind is one of:
+ definite indirect possible reachable all none
+ where heur is one of:
+ stdstring length64 newarray multipleinheritance all none*
+ Examples: leak_check
+ leak_check summary any
+ leak_check full kinds indirect,possible
+ leak_check full reachable any limited 100
block_list <loss_record_nr>
after a leak search, shows the list of blocks of <loss_record_nr>
who_points_at <addr> [<len>]
Modified: trunk/memcheck/mc_main.c
==============================================================================
--- trunk/memcheck/mc_main.c (original)
+++ trunk/memcheck/mc_main.c Wed Sep 3 21:58:54 2014
@@ -5367,11 +5367,12 @@
" [definite,possible]\n"
" --errors-for-leak-kinds=kind1,kind2,.. which leak kinds are errors?\n"
" [definite,possible]\n"
-" where kind is one of definite indirect possible reachable all none\n"
+" where kind is one of:\n"
+" definite indirect possible reachable all none\n"
" --leak-check-heuristics=heur1,heur2,... which heuristics to use for\n"
" improving leak search false positive [none]\n"
-" where heur is one of stdstring length64 newarray\n"
-" multipleinheritance all none\n"
+" where heur is one of:\n"
+" stdstring length64 newarray multipleinheritance all none\n"
" --show-reachable=yes same as --show-leak-kinds=all\n"
" --show-reachable=no --show-possibly-lost=yes\n"
" same as --show-leak-kinds=definite,possible\n"
@@ -5509,13 +5510,14 @@
" [increased*|changed|any]\n"
" [unlimited*|limited <max_loss_records_output>]\n"
" * = defaults\n"
-" where kind is one of definite indirect possible reachable all none\n"
-" where heur is one of stdstring length64 newarray\n"
-" multipleinheritance all none*\n"
-" Examples: leak_check\n"
-" leak_check summary any\n"
-" leak_check full kinds indirect,possible\n"
-" leak_check full reachable any limited 100\n"
+" where kind is one of:\n"
+" definite indirect possible reachable all none\n"
+" where heur is one of:\n"
+" stdstring length64 newarray multipleinheritance all none*\n"
+" Examples: leak_check\n"
+" leak_check summary any\n"
+" leak_check full kinds indirect,possible\n"
+" leak_check full reachable any limited 100\n"
" block_list <loss_record_nr>\n"
" after a leak search, shows the list of blocks of <loss_record_nr>\n"
" who_points_at <addr> [<len>]\n"
Modified: trunk/none/tests/cmdline1.stdout.exp
==============================================================================
--- trunk/none/tests/cmdline1.stdout.exp (original)
+++ trunk/none/tests/cmdline1.stdout.exp Wed Sep 3 21:58:54 2014
@@ -22,7 +22,8 @@
to get started quickly, use --vgdb-error=0
and follow the on-screen directions
--vgdb-stop-at=event1,event2,... invoke gdbserver for given events [none]
- where event is one of startup exit valgrindabexit all none
+ where event is one of:
+ startup exit valgrindabexit all none
--track-fds=no|yes track open file descriptors? [no]
--time-stamp=no|yes add timestamps to log messages? [no]
--log-fd=<number> log messages to file descriptor [2=stderr]
@@ -89,7 +90,8 @@
--vgdb-prefix=<prefix> prefix for vgdb FIFOs [/tmp/vgdb-pipe]
--run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]
--sim-hints=hint1,hint2,... activate unusual sim behaviours [none]
- where hint is one of lax-ioctls fuse-compatible enable-outer
+ where hint is one of:
+ lax-ioctls fuse-compatible enable-outer
no-inner-prefix no-nptl-pthread-stackcache none
--fair-sched=no|yes|try schedule threads fairly on multicore systems [no]
--kernel-variant=variant1,variant2,...
Modified: trunk/none/tests/cmdline2.stdout.exp
==============================================================================
--- trunk/none/tests/cmdline2.stdout.exp (original)
+++ trunk/none/tests/cmdline2.stdout.exp Wed Sep 3 21:58:54 2014
@@ -22,7 +22,8 @@
to get started quickly, use --vgdb-error=0
and follow the on-screen directions
--vgdb-stop-at=event1,event2,... invoke gdbserver for given events [none]
- where event is one of startup exit valgrindabexit all none
+ where event is one of:
+ startup exit valgrindabexit all none
--track-fds=no|yes track open file descriptors? [no]
--time-stamp=no|yes add timestamps to log messages? [no]
--log-fd=<number> log messages to file descriptor [2=stderr]
@@ -89,7 +90,8 @@
--vgdb-prefix=<prefix> prefix for vgdb FIFOs [/tmp/vgdb-pipe]
--run-libc-freeres=no|yes free up glibc memory at exit on Linux? [yes]
--sim-hints=hint1,hint2,... activate unusual sim behaviours [none]
- where hint is one of lax-ioctls fuse-compatible enable-outer
+ where hint is one of:
+ lax-ioctls fuse-compatible enable-outer
no-inner-prefix no-nptl-pthread-stackcache none
--fair-sched=no|yes|try schedule threads fairly on multicore systems [no]
--kernel-variant=variant1,variant2,...
|