diff options
author | Tom Tromey <tromey@adacore.com> | 2024-06-03 09:37:27 -0600 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2024-11-11 07:44:27 -0700 |
commit | fc55e99ad740b285f655c3a2a6035850bf2e3220 (patch) | |
tree | 2e6cddce9601123dc74ba11c7f35fd9e66520b10 /gdb/record.c | |
parent | bf0a21777530ff364a7f30a79e1fd3616e5a6c7e (diff) | |
download | binutils-fc55e99ad740b285f655c3a2a6035850bf2e3220.zip binutils-fc55e99ad740b285f655c3a2a6035850bf2e3220.tar.gz binutils-fc55e99ad740b285f655c3a2a6035850bf2e3220.tar.bz2 |
Wrap help strings at 80 columns
This patch ensures that all ordinary help strings are wrapped at 80
columns. For the most part this consists of changing code like this
(note the embedded \n and the trailing backslash without a newline):
-Manage the space-separated list of debuginfod server URLs that GDB will query \
-when missing debuginfo, executables or source files.\nThe default value is \
-copied from the DEBUGINFOD_URLS environment variable."),
... to end each line with \n\, like:
+Manage the space-separated list of debuginfod server URLs that GDB will\n\
+query when missing debuginfo, executables or source files.\n\
+The default value is copied from the DEBUGINFOD_URLS environment variable."),
Approved-By: Eli Zaretskii <eliz@gnu.org>
Diffstat (limited to 'gdb/record.c')
-rw-r--r-- | gdb/record.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/gdb/record.c b/gdb/record.c index 8bf8a69..97a4e46 100644 --- a/gdb/record.c +++ b/gdb/record.c @@ -865,25 +865,25 @@ With a /m or /s modifier, source lines are included (if available).\n\ With a /r modifier, raw instructions in hex are included.\n\ With a /f modifier, function names are omitted.\n\ With a /p modifier, current position markers are omitted.\n\ -With a /a modifier, omits output of auxiliary data, which is enabled \ +With a /a modifier, omits output of auxiliary data, which is enabled\n\ by default.\n\ -With no argument, disassembles ten more instructions after the previous \ +With no argument, disassembles ten more instructions after the previous\n\ disassembly.\n\ -\"record instruction-history -\" disassembles ten instructions before a \ +\"record instruction-history -\" disassembles ten instructions before a\n\ previous disassembly.\n\ -One argument specifies an instruction number as shown by 'info record', and \ +One argument specifies an instruction number as shown by 'info record', and\n\ ten instructions are disassembled after that instruction.\n\ -Two arguments with comma between them specify starting and ending instruction \ +Two arguments with comma between them specify starting and ending instruction\n\ numbers to disassemble.\n\ -If the second argument is preceded by '+' or '-', it specifies the distance \ +If the second argument is preceded by '+' or '-', it specifies the distance\n\ from the first argument.\n\ -The number of instructions to disassemble can be defined with \"set record \ -instruction-history-size\"."), +The number of instructions to disassemble can be defined with\n\ +\"set record instruction-history-size\"."), &record_cmdlist); add_cmd ("function-call-history", class_obscure, cmd_record_call_history, _("\ Prints the execution history at function granularity.\n\ -It prints one line for each sequence of instructions that belong to the same \ +It prints one line for each sequence of instructions that belong to the same\n\ function.\n\ Without modifiers, it prints the function name.\n\ With a /l modifier, the source file and line number range is included.\n\ @@ -892,15 +892,15 @@ With a /c modifier, the output is indented based on the call stack depth.\n\ With a /a modifier, omits output of auxiliary data, which is enabled \ by default.\n\ With no argument, prints ten more lines after the previous ten-line print.\n\ -\"record function-call-history -\" prints ten lines before a previous ten-line \ +\"record function-call-history -\" prints ten lines before a previous ten-line\n\ print.\n\ -One argument specifies a function number as shown by 'info record', and \ +One argument specifies a function number as shown by 'info record', and\n\ ten lines are printed after that function.\n\ Two arguments with comma between them specify a range of functions to print.\n\ -If the second argument is preceded by '+' or '-', it specifies the distance \ +If the second argument is preceded by '+' or '-', it specifies the distance\n\ from the first argument.\n\ -The number of functions to print can be defined with \"set record \ -function-call-history-size\"."), +The number of functions to print can be defined with\n\ +\"set record function-call-history-size\"."), &record_cmdlist); /* Sync command control variables. */ |