aboutsummaryrefslogtreecommitdiff
path: root/gdb/psymtab.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-06-03 09:37:27 -0600
committerTom Tromey <tromey@adacore.com>2024-11-11 07:44:27 -0700
commitfc55e99ad740b285f655c3a2a6035850bf2e3220 (patch)
tree2e6cddce9601123dc74ba11c7f35fd9e66520b10 /gdb/psymtab.c
parentbf0a21777530ff364a7f30a79e1fd3616e5a6c7e (diff)
downloadgdb-fc55e99ad740b285f655c3a2a6035850bf2e3220.zip
gdb-fc55e99ad740b285f655c3a2a6035850bf2e3220.tar.gz
gdb-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/psymtab.c')
-rw-r--r--gdb/psymtab.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c
index f8c83d9..309590d 100644
--- a/gdb/psymtab.c
+++ b/gdb/psymtab.c
@@ -1560,7 +1560,8 @@ Usage: mt print psymbols [-objfile OBJFILE] [-pc ADDRESS] [--] [OUTFILE]\n\
mt print psymbols [-objfile OBJFILE] [-source SOURCE] [--] [OUTFILE]\n\
Entries in the partial symbol table are dumped to file OUTFILE,\n\
or the terminal if OUTFILE is unspecified.\n\
-If ADDRESS is provided, dump only the symbols for the file with code at that address.\n\
+If ADDRESS is provided, dump only the symbols for the file\n\
+with code at that address.\n\
If SOURCE is provided, dump only that file's symbols.\n\
If OBJFILE is provided, dump only that object file's symbols."),
&maintenanceprintlist);