From: Tom Tromey Date: Fri, 7 Jun 2024 18:52:20 +0000 (-0600) Subject: Clean up opaque-type-resolution help X-Git-Tag: gdb-16-branchpoint~475 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0fd0f223009674f4db5c03c31683e451ac8d78cf;p=thirdparty%2Fbinutils-gdb.git Clean up opaque-type-resolution help 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 --- diff --git a/gdb/gdbtypes.c b/gdb/gdbtypes.c index 2a3aea229cb..1a04488d272 100644 --- a/gdb/gdbtypes.c +++ b/gdb/gdbtypes.c @@ -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);