From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56597 invoked by alias); 28 May 2018 04:51:47 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 56587 invoked by uid 89); 28 May 2018 04:51:47 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (192.185.150.24) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 28 May 2018 04:51:45 +0000 Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway30.websitewelcome.com (Postfix) with ESMTP id 0791B15686 for ; Sun, 27 May 2018 23:51:44 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id NA8Ffx8p9kBj6NA8FfSLZA; Sun, 27 May 2018 23:51:44 -0500 X-Authority-Reason: nr=8 Received: from 174-29-44-154.hlrn.qwest.net ([174.29.44.154]:47454 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1fNA8F-002EKr-Ld; Sun, 27 May 2018 23:51:43 -0500 From: Tom Tromey To: Tom Tromey Cc: Pedro Alves , gdb-patches@sourceware.org Subject: Re: [RFA 0/9] Radically simplify the complaint system References: <20180522050704.10845-1-tom@tromey.com> <190d88e2-35a5-9dc2-8b28-4a8c37e0617a@redhat.com> <87d0xmfodf.fsf@tromey.com> <8736yczdj3.fsf@tromey.com> Date: Mon, 28 May 2018 10:41:00 -0000 In-Reply-To: <8736yczdj3.fsf@tromey.com> (Tom Tromey's message of "Sun, 27 May 2018 21:04:32 -0600") Message-ID: <87y3g4xu01.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BWhitelist: no X-Source-L: No X-Exim-ID: 1fNA8F-002EKr-Ld X-Source-Sender: 174-29-44-154.hlrn.qwest.net (bapiya) [174.29.44.154]:47454 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-SW-Source: 2018-05/txt/msg00728.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> const char *filename = get_section_file_name (section); Tom> ... Tom> complaint (_("debug type entry at offset %s is duplicate to" Tom> " the entry at offset %s, signature %s"), Tom> sect_offset_str (sect_off), sect_offset_str (dup_sect_off), Tom> hex_string (header.signature)); I cut-and-pasted the wrong complaint here, and in fact that function doesn't do this. But there's at least one more example, this time from skip_form_bytes: complaint (_("invalid form 0x%x in `%s'"), form, get_section_name (section)); Tom