From patchwork Fri Jun 2 15:56:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom de Vries X-Patchwork-Id: 70546 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 3AFA13857731 for ; Fri, 2 Jun 2023 15:58:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 3AFA13857731 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1685721503; bh=Qt+0yUJ0/5LKPXbubCvvp/ezFsvQefalE9sG9XZ7oaY=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=Gd9wISyEeqI8J3wICuLx+Fre/mYx1y+kWwsWoUqo+rX6wXyqETmbw8pOG3L0Toehw mN0b4wyKz9E/LxpcuV1krbE2mvAKZMsb/qt7JlXRhR/ZfFewwMoN0NuP5fR4Ud3MuM pSrG8G49LJpHqmlo6rkBLQ0q52M0WSyR2Eex1eUM= X-Original-To: gdb-patches@sourceware.org Delivered-To: gdb-patches@sourceware.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id 9B26A3858431 for ; Fri, 2 Jun 2023 15:56:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9B26A3858431 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id CC4431FDF2 for ; Fri, 2 Jun 2023 15:56:33 +0000 (UTC) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id B8AD2133E6 for ; Fri, 2 Jun 2023 15:56:33 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id oAgILDERemQ6ewAAMHmgww (envelope-from ) for ; Fri, 02 Jun 2023 15:56:33 +0000 To: gdb-patches@sourceware.org Subject: [PATCH 05/10] [gdb/cli] Fix help text of maint info target-sections Date: Fri, 2 Jun 2023 17:56:34 +0200 Message-Id: <20230602155639.28245-6-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20230602155639.28245-1-tdevries@suse.de> References: <20230602155639.28245-1-tdevries@suse.de> MIME-Version: 1.0 X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org 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: , X-Patchwork-Original-From: Tom de Vries via Gdb-patches From: Tom de Vries Reply-To: Tom de Vries Errors-To: gdb-patches-bounces+patchwork=sourceware.org@sourceware.org Sender: "Gdb-patches" I noticed a typo: ... (gdb) help maint info target-sections List GDB's internal section table. Print the current targets section list. This is a sub-set of all sections, from all objects currently loaded. Usually the ALLOC sectoins. ... Fix this by using "sections". --- gdb/maint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/maint.c b/gdb/maint.c index c5f2e5cdce0..5d52dfafd06 100644 --- a/gdb/maint.c +++ b/gdb/maint.c @@ -1259,7 +1259,7 @@ List GDB's internal section table.\n\ \n\ Print the current targets section list. This is a sub-set of all\n\ sections, from all objects currently loaded. Usually the ALLOC\n\ -sectoins."), +sections."), &maintenanceinfolist); add_basic_prefix_cmd ("print", class_maintenance,