From: Paul Floyd Date: Wed, 11 Jan 2023 20:42:41 +0000 (+0100) Subject: Bug 241072 List tools in --help output X-Git-Tag: VALGRIND_3_21_0~222 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fcc813468554b23c04d8db64f425b299df06ad0;p=thirdparty%2Fvalgrind.git Bug 241072 List tools in --help output --- diff --git a/NEWS b/NEWS index 041ff5ba65..f2a380863b 100644 --- a/NEWS +++ b/NEWS @@ -76,6 +76,7 @@ than mailing the developers (or mailing lists) directly -- bugs that are not entered into bugzilla tend to get forgotten about or ignored. 170510 Don't warn about ioctl of size 0 without direction hint +241072 List tools in --help output 327548 false positive while destroying mutex 351857 confusing error message about valid command line option 392331 Spurious lock not held error from inside pthread_cond_timedwait diff --git a/coregrind/m_main.c b/coregrind/m_main.c index c966873e26..27ec451433 100644 --- a/coregrind/m_main.c +++ b/coregrind/m_main.c @@ -87,6 +87,9 @@ static void usage_NORETURN ( int need_help ) "\n" " tool-selection option, with default in [ ]:\n" " --tool= use the Valgrind tool named [memcheck]\n" +" available tools are:\n" +" memcheck cachegrind callgrind helgrind drd\n" +" massif dhat lackey none exp-bbv\n" "\n" " basic user options for all Valgrind tools, with defaults in [ ]:\n" " -h --help show this message\n" diff --git a/none/tests/cmdline1.stdout.exp b/none/tests/cmdline1.stdout.exp index de5fcd819a..c0e71fa576 100644 --- a/none/tests/cmdline1.stdout.exp +++ b/none/tests/cmdline1.stdout.exp @@ -2,6 +2,9 @@ usage: valgrind [options] prog-and-args tool-selection option, with default in [ ]: --tool= use the Valgrind tool named [memcheck] + available tools are: + memcheck cachegrind callgrind helgrind drd + massif dhat lackey none exp-bbv basic user options for all Valgrind tools, with defaults in [ ]: -h --help show this message @@ -31,8 +34,6 @@ usage: valgrind [options] prog-and-args --log-fd= log messages to file descriptor [2=stderr] --log-file= log messages to --log-socket=ipaddr:port log messages to socket ipaddr:port - --enable-debuginfod=no|yes query debuginfod servers for missing - debuginfo [yes] user options for Valgrind tools that report errors: --xml=yes emit error output in XML (some tools only) diff --git a/none/tests/cmdline2.stdout.exp b/none/tests/cmdline2.stdout.exp index d810cc7fa3..c19fa72597 100644 --- a/none/tests/cmdline2.stdout.exp +++ b/none/tests/cmdline2.stdout.exp @@ -2,6 +2,9 @@ usage: valgrind [options] prog-and-args tool-selection option, with default in [ ]: --tool= use the Valgrind tool named [memcheck] + available tools are: + memcheck cachegrind callgrind helgrind drd + massif dhat lackey none exp-bbv basic user options for all Valgrind tools, with defaults in [ ]: -h --help show this message @@ -31,8 +34,6 @@ usage: valgrind [options] prog-and-args --log-fd= log messages to file descriptor [2=stderr] --log-file= log messages to --log-socket=ipaddr:port log messages to socket ipaddr:port - --enable-debuginfod=no|yes query debuginfod servers for missing - debuginfo [yes] user options for Valgrind tools that report errors: --xml=yes emit error output in XML (some tools only)