From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 122659 invoked by alias); 17 Mar 2017 11:55:00 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 122640 invoked by uid 89); 17 Mar 2017 11:54:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.4 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RED autolearn=ham version=3.3.2 spammy=Hx-languages-length:1313 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 17 Mar 2017 11:54:56 +0000 Received: from nat-ies.mentorg.com ([192.94.31.2] helo=SVR-IES-MBX-04.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1coqT8-0000nx-K2 from Tom_deVries@mentor.com ; Fri, 17 Mar 2017 04:54:54 -0700 Received: from [127.0.0.1] (137.202.0.87) by SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Fri, 17 Mar 2017 11:54:50 +0000 Subject: Re: [PATCH] Install gcov-dump. To: =?UTF-8?Q?Martin_Li=c5=a1ka?= , GCC Patches References: CC: Richard Biener From: Tom de Vries Message-ID: <9623065d-0720-cf7f-cb9f-dccb71901b10@mentor.com> Date: Fri, 17 Mar 2017 11:55:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------8DAF5C7A0131CD211F878E90" X-ClientProxiedBy: svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) To SVR-IES-MBX-04.mgc.mentorg.com (139.181.222.4) X-SW-Source: 2017-03/txt/msg00924.txt.bz2 --------------8DAF5C7A0131CD211F878E90 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit Content-length: 695 On 14/03/17 13:30, Martin Liška wrote: > Tested on my local machine that's properly installed. > > Ready for trunk? I'm guessing there's an invariant that installed tools mention a bug url with --help. Using attached patch, we get: ... $ gcov-dump --help Usage: gcov-dump [OPTION] ... gcovfiles Print coverage file contents -h, --help Print this help -v, --version Print version number -l, --long Dump record contents too -p, --positions Dump record positions -w, --working-sets Dump working set computed from summary For bug reporting instructions, please see: . ... OK for trunk, 5 and 6 branch? Thanks, - Tom --------------8DAF5C7A0131CD211F878E90 Content-Type: text/x-patch; name="0001-Print-bug-url-for-gcov-dump-help.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0001-Print-bug-url-for-gcov-dump-help.patch" Content-length: 674 Print bug url for gcov-dump --help 2017-03-17 Tom de Vries * gcov-dump.c (print_usage): Print bug_report_url. --- gcc/gcov-dump.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c index 3311772..91c4866 100644 --- a/gcc/gcov-dump.c +++ b/gcc/gcov-dump.c @@ -136,6 +136,8 @@ print_usage (void) printf (" -l, --long Dump record contents too\n"); printf (" -p, --positions Dump record positions\n"); printf (" -w, --working-sets Dump working set computed from summary\n"); + printf ("\nFor bug reporting instructions, please see:\n%s.\n", + bug_report_url); } static void --------------8DAF5C7A0131CD211F878E90--