$ valgrind --show-mismatched-frees ./xx valgrind: Unknown option: --show-mismatched-frees BS. Of course the option is known. What's wrong here is that it's missing a value, e.g. --show-mismatched-frees=yes The error message should say so.
I've been bitten by this a few times as well.
Created attachment 153677 [details] Modify VG_BOOL_CLOM to print error if there is no "=something" regtest clean, 5 new none/tests/cmdline* added
Patch looks good to me. Thanks. + VG_(fmsg_bad_option)(qq_arg, + "Missing boolean value, did you mean '%s=yes'?\n", + qq_arg); We could consider (as a followup?) to just interpret this as =yes instead of having a warning. Please just remove the old #define VG_BOOL_CLOM instead of #if 0 ...
Fixed To ssh://sourceware.org/git/valgrind.git ea9199739..ac6d9faf4 master -> master I'll look at defaulting to 'yes' later.