Bug 203255 - Avoid debugging output in -v messages
Summary: Avoid debugging output in -v messages
Status: ASSIGNED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.5 SVN
Platform: Unlisted Binaries All
: NOR normal
Target Milestone: blocking3.6.0
Assignee: Nicholas Nethercote
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 04:00 UTC by Nicholas Nethercote
Modified: 2009-08-10 04:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicholas Nethercote 2009-08-10 04:00:23 UTC
If you run with -v, you currently get two kinds of messages.  Some of them are useful to the user, eg. lists of all errors reported, lists of suppressions used.  But most of them are debugging messages only useful to Valgrind developers.  Furthermore, we also have the -d option which prints only debugging messages.  

We should move all debugging messages out of -v, into -d, so that users can run -v and only get info that is useful to them.

A consequence of this is that, because -d printing is implemented in a more low-level way than -v printing, debugging messages can only print to stderr.  But this doesn't seem like much of a problem.