|
From: Paul F. <pa...@so...> - 2023-01-11 20:44:06
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=8fcc813468554b23c04d8db64f425b299df06ad0 commit 8fcc813468554b23c04d8db64f425b299df06ad0 Author: Paul Floyd <pj...@wa...> Date: Wed Jan 11 21:42:41 2023 +0100 Bug 241072 List tools in --help output Diff: --- NEWS | 1 + coregrind/m_main.c | 3 +++ none/tests/cmdline1.stdout.exp | 5 +++-- none/tests/cmdline2.stdout.exp | 5 +++-- 4 files changed, 10 insertions(+), 4 deletions(-) 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=<name> use the Valgrind tool named <name> [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=<name> use the Valgrind tool named <name> [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=<number> log messages to file descriptor [2=stderr] --log-file=<file> log messages to <file> --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=<name> use the Valgrind tool named <name> [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=<number> log messages to file descriptor [2=stderr] --log-file=<file> log messages to <file> --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) |