gdb/doc: document '+' argument for 'list' command

The command 'list' has accepted the argument '+' for many years already,
but this option wasn't documented either in the texinfo docs or in the
help text for the command.  This commit documents it.

Reviewed-By: Eli Zaretskii <eliz@gnu.org>
Approved-By: Tom Tromey <tom@tromey.com>
This commit is contained in:
Bruno Larsen
2023-06-20 16:57:38 +02:00
parent f52625f1f2
commit a4e5901bb1
2 changed files with 4 additions and 0 deletions

View File

@@ -2806,6 +2806,7 @@ and send its output to SHELL_COMMAND."));
List specified function or line.\n\
With no argument, lists ten more lines after or around previous listing.\n\
\"list .\" lists ten lines arond where the inferior is stopped.\n\
\"list +\" lists the ten lines following a previous ten-line listing.\n\
\"list -\" lists the ten lines before a previous ten-line listing.\n\
One argument specifies a line, and ten lines are listed around that line.\n\
Two arguments with comma between specify starting and ending lines to list.\n\