aboutsummaryrefslogtreecommitdiff
path: root/gdb/reverse.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2024-04-17 08:04:59 -0600
committerTom Tromey <tromey@adacore.com>2024-05-14 13:23:37 -0600
commitbe2a6a5803e575db62a1c27e022cb596d237181a (patch)
tree1543e663647730b84d86353eaf88b42874e20cec /gdb/reverse.c
parent0a6b9eefc211bc6af718d65adb260c056f3c6659 (diff)
downloadgdb-be2a6a5803e575db62a1c27e022cb596d237181a.zip
gdb-be2a6a5803e575db62a1c27e022cb596d237181a.tar.gz
gdb-be2a6a5803e575db62a1c27e022cb596d237181a.tar.bz2
Disallow trailing whitespace in docstrings
This patch changes the docstring self-test to verify that there is no trailing whitespace at the end of lines. A few existing docstrings had to be updated.
Diffstat (limited to 'gdb/reverse.c')
-rw-r--r--gdb/reverse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/reverse.c b/gdb/reverse.c
index 11c76b4..ca11f83 100644
--- a/gdb/reverse.c
+++ b/gdb/reverse.c
@@ -320,12 +320,12 @@ Execute backward until just before selected stack frame is called."));
add_com ("bookmark", class_bookmark, save_bookmark_command, _("\
Set a bookmark in the program's execution history.\n\
-A bookmark represents a point in the execution history \n\
+A bookmark represents a point in the execution history\n\
that can be returned to at a later point in the debug session."));
add_info ("bookmarks", info_bookmarks_command, _("\
Status of user-settable bookmarks.\n\
-Bookmarks are user-settable markers representing a point in the \n\
-execution history that can be returned to later in the same debug \n\
+Bookmarks are user-settable markers representing a point in the\n\
+execution history that can be returned to later in the same debug\n\
session."));
add_cmd ("bookmark", class_bookmark, delete_bookmark_command, _("\
Delete a bookmark from the bookmark list.\n\
@@ -334,7 +334,7 @@ Argument is a bookmark number or numbers,\n\
&deletelist);
add_com ("goto-bookmark", class_bookmark, goto_bookmark_command, _("\
Go to an earlier-bookmarked point in the program's execution history.\n\
-Argument is the bookmark number of a bookmark saved earlier by using \n\
+Argument is the bookmark number of a bookmark saved earlier by using\n\
the 'bookmark' command, or the special arguments:\n\
start (beginning of recording)\n\
end (end of recording)"));