aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.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/infcmd.c
parentbf0a21777530ff364a7f30a79e1fd3616e5a6c7e (diff)
downloadfsf-binutils-gdb-fc55e99ad740b285f655c3a2a6035850bf2e3220.zip
fsf-binutils-gdb-fc55e99ad740b285f655c3a2a6035850bf2e3220.tar.gz
fsf-binutils-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/infcmd.c')
-rw-r--r--gdb/infcmd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c
index 74873b9..5c0e3f5 100644
--- a/gdb/infcmd.c
+++ b/gdb/infcmd.c
@@ -3282,8 +3282,10 @@ frame."));
add_com_alias ("u", until_cmd, class_run, 1);
c = add_com ("advance", class_run, advance_command, _("\
-Continue the program up to the given location (same form as args for break \
-command).\n\
+Continue the program up to the given location.\n\
+Usage: advance LOCSPEC\n\
+The argument is a location specification, i.e., the same forms\n\
+accepted by the 'break' command.\n\
Execution will also stop upon exit from the current stack frame."));
set_cmd_completer (c, location_completer);