]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Clean up opaque-type-resolution help
authorTom Tromey <tromey@adacore.com>
Fri, 7 Jun 2024 18:52:20 +0000 (12:52 -0600)
committerTom Tromey <tromey@adacore.com>
Mon, 11 Nov 2024 14:44:27 +0000 (07:44 -0700)
The opaque-type-resolution help says "if set before loading symbols",
but I don't think this is accurate.  As far as I know, this resolution
can be done at any time.

This patch cleans up the help, also shortening it to less than 80
characters.

Approved-By: Eli Zaretskii <eliz@gnu.org>
gdb/gdbtypes.c

index 2a3aea229cb0c515d1c7dfe3738cf411fe53e9c2..1a04488d272a747bea4bbe2054b034b02c02b5d4 100644 (file)
@@ -6185,10 +6185,10 @@ _initialize_gdbtypes ()
   /* Add user knob for controlling resolution of opaque types.  */
   add_setshow_boolean_cmd ("opaque-type-resolution", class_support,
                           &opaque_type_resolution,
-                          _("Set resolution of opaque struct/class/union"
-                            " types (if set before loading symbols)."),
-                          _("Show resolution of opaque struct/class/union"
-                            " types (if set before loading symbols)."),
+                          _("\
+Set resolution of opaque struct/class/union types."),
+                          _("\
+Show resolution of opaque struct/class/union types."),
                           NULL, NULL,
                           show_opaque_type_resolution,
                           &setlist, &showlist);