From patchwork Tue Jun 18 00:39:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 33170 Received: (qmail 40170 invoked by alias); 18 Jun 2019 00:39:08 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 40081 invoked by uid 89); 18 Jun 2019 00:39:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-26.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=Maintenance X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 18 Jun 2019 00:39:07 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E9A9A308FE8D; Tue, 18 Jun 2019 00:39:05 +0000 (UTC) Received: from localhost.localdomain (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4CE2717D72; Tue, 18 Jun 2019 00:39:05 +0000 (UTC) From: Pedro Alves To: gdb-patches@sourceware.org Cc: Philippe Waroquiers Subject: [PATCH v2 2/4] Fix a few comments in maint-test-settings.c Date: Tue, 18 Jun 2019 01:39:00 +0100 Message-Id: <20190618003902.19805-3-palves@redhat.com> In-Reply-To: <20190618003902.19805-1-palves@redhat.com> References: <20190618003902.19805-1-palves@redhat.com> Fix the file's intro comment, and s/test-options/test-settings/. gdb/ChangeLog: yyyy-mm-dd Pedro Alves * maint-test-settings.c: Fix file's intro comment. Replace all references to "test-options" with references to "test-settings", in comments. --- gdb/maint-test-settings.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gdb/maint-test-settings.c b/gdb/maint-test-settings.c index 79e002e727f..5075ed1aac0 100644 --- a/gdb/maint-test-settings.c +++ b/gdb/maint-test-settings.c @@ -1,4 +1,4 @@ -/* Support for GDB maintenance commands. +/* Maintenance commands for testing the settings framework. Copyright (C) 2019 Free Software Foundation, Inc. @@ -28,7 +28,7 @@ static cmd_list_element *maintenance_test_settings_list; static cmd_list_element *maintenance_test_settings_set_list; static cmd_list_element *maintenance_test_settings_show_list; -/* The "maintenance test-options" prefix command. */ +/* The "maintenance test-settings" prefix command. */ static void maintenance_test_settings_cmd (const char *arg, int from_tty) @@ -40,7 +40,7 @@ maintenance_test_settings_cmd (const char *arg, int from_tty) all_commands, gdb_stdout); } -/* The "maintenance test-options set" prefix command. */ +/* The "maintenance test-settings set" prefix command. */ static void maintenance_test_settings_set_cmd (const char *args, int from_tty) @@ -52,7 +52,7 @@ maintenance_test_settings_set_cmd (const char *args, int from_tty) all_commands, gdb_stdout); } -/* The "maintenance test-options show" prefix command. */ +/* The "maintenance test-settings show" prefix command. */ static void maintenance_test_settings_show_cmd (const char *args, int from_tty) @@ -60,7 +60,7 @@ maintenance_test_settings_show_cmd (const char *args, int from_tty) cmd_show_list (maintenance_test_settings_show_list, from_tty, ""); } -/* Control variables for all the "maintenance test-options set/show +/* Control variables for all the "maintenance test-settings set/show xxx" commands. */ static int maintenance_test_settings_boolean; @@ -101,7 +101,7 @@ static const char *const maintenance_test_settings_enums[] = { static const char *maintenance_test_settings_enum = maintenance_test_settings_xxx; -/* The "maintenance test-options show xxx" commands. */ +/* The "maintenance test-settings show xxx" commands. */ static void maintenance_test_settings_show_value_cmd