Fix a few comments in maint-test-settings.c
authorPedro Alves <palves@redhat.com>
Wed, 3 Jul 2019 12:34:18 +0000 (13:34 +0100)
committerPedro Alves <palves@redhat.com>
Wed, 3 Jul 2019 12:34:50 +0000 (13:34 +0100)
Fix the file's intro comment, and s/test-options/test-settings/.

gdb/ChangeLog:
2019-07-03  Pedro Alves  <palves@redhat.com>

* maint-test-settings.c: Fix file's intro comment.  Replace all
references to "test-options" with references to "test-settings",
in comments.

gdb/ChangeLog
gdb/maint-test-settings.c

index 05c25b4f716d21f701eddc8eab485c9b7122c4f0..223d542d23367463132de839591af3e8977a9352 100644 (file)
@@ -1,3 +1,9 @@
+2019-07-03  Pedro Alves  <palves@redhat.com>
+
+       * maint-test-settings.c: Fix file's intro comment.  Replace all
+       references to "test-options" with references to "test-settings",
+       in comments.
+
 2019-07-03  Pedro Alves  <palves@redhat.com>
 
        * maint-test-settings.c (maintenance_test_settings_xxx)
index 79e002e727f6704d524918562d57aed85ade61d4..5075ed1aac0765e328647de7c4649508c96ee878 100644 (file)
@@ -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
This page took 0.029344 seconds and 4 git commands to generate.