From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id TSEkFz9CHmDUNwAAWB0awg (envelope-from ) for ; Sat, 06 Feb 2021 02:16:15 -0500 Received: by simark.ca (Postfix, from userid 112) id 38AD11EF84; Sat, 6 Feb 2021 02:16:15 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 917AC1E590 for ; Sat, 6 Feb 2021 02:16:11 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9E20D386EC41; Sat, 6 Feb 2021 07:16:10 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9E20D386EC41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1612595770; bh=rFt46/r9FvMAQdheAwVWXvv0ZzGrI50sZKNCXZjQDsE=; h=Date:To:In-Reply-To:Subject:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=xYV1I8QyBw29WDGKa+nIbE8Sdiyqh3rVCQyUxZI3gsQznqQBzImuGCm+726gKocvU YcklciyKleRwQS0K4N1docPmLUyvQiVW7vcJzX9XSJUL+azr2RsH9YCkVPrdqAsetR HYwkF11cLkZELgzFZMsSvw+ZWO7W9/60j/2E4Y8I= Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 22BCF3861841 for ; Sat, 6 Feb 2021 07:16:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 22BCF3861841 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35631) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l8Hp9-0005At-I1; Sat, 06 Feb 2021 02:16:07 -0500 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4111 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l8Hp9-0002lF-0o; Sat, 06 Feb 2021 02:16:07 -0500 Date: Sat, 06 Feb 2021 09:16:14 +0200 Message-Id: <83zh0hoedd.fsf@gnu.org> To: Andrew Burgess In-Reply-To: <46a0be74dee73dda27d6c9e20c149fa4bc6a89f9.1612560410.git.andrew.burgess@embecosm.com> (message from Andrew Burgess on Fri, 5 Feb 2021 21:29:11 +0000) Subject: Re: [PATCH 3/3] gdb: change 'maint info section' to use command options References: <46a0be74dee73dda27d6c9e20c149fa4bc6a89f9.1612560410.git.andrew.burgess@embecosm.com> X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Cc: gdb-patches@sourceware.org Errors-To: gdb-patches-bounces@sourceware.org Sender: "Gdb-patches" > From: Andrew Burgess > Date: Fri, 5 Feb 2021 21:29:11 +0000 > > gdb/ChangeLog: > > * NEWS: Mention changes to 'maint info sections'. > * maint.c (match_substring): Return a bool, fix whitespace issue. > (struct single_bfd_flag_info): New struct. > (bfd_flag_info): New static global. > (match_bfd_flags): Return a bool, use bfd_flag_info. > (print_bfd_flags): Use bfd_flag_info. > (maint_print_section_info): Delete trailing whitespace. > (struct maint_info_sections_opts): New struct. > (maint_info_sections_option_defs): New static global. > (maint_info_sections_completer): New function. > (maintenance_info_sections): Use option parsing mechanism. > (_initialize_maint_cmds): Register command completer. > > gdb/doc/ChangeLog: > > * gdb.texinfo (Files): Update documentation for 'maint info > sections'. > > gdb/testsuite/ChangeLog: > > * gdb.base/maint-info-sections.exp: Update expected output, and > add additional tests. Again. Thanks, the documentation parts are approved.