From be2a6a5803e575db62a1c27e022cb596d237181a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 17 Apr 2024 08:04:59 -0600 Subject: 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. --- gdb/reverse.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/reverse.c') 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)")); -- cgit v1.1