gdb: Extend help text for 'list' command.
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sat, 21 Nov 2015 11:13:07 +0000 (12:13 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 11 Dec 2015 23:07:00 +0000 (23:07 +0000)
Reference the 'listsize' setting in the help text for the 'list' command
to help users find this setting.

gdb/ChangeLog:

* cli/cli-cmds.c (_initialize_cli_cmds): Extend help text for
'list' command.

gdb/ChangeLog
gdb/cli/cli-cmds.c

index 960a304917cfb44e2c4cdf834839ed35b4be900c..a63d9c5452c0b977bc82bee5bbf4058c1d8baef0 100644 (file)
@@ -1,3 +1,8 @@
+2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * cli/cli-cmds.c (_initialize_cli_cmds): Extend help text for
+       'list' command.
+
 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
 
        * cli/cli-cmds.c (list_command): Add an error when trying to use
index a6935bf658c26916336acc2e7961f3f4ae0de9e9..4f1a71078bd8b005cfe21a2c644b62fdc5a784cf 100644 (file)
@@ -1896,8 +1896,12 @@ Lines can be specified in these ways:\n\
   FUNCTION, to list around beginning of that function,\n\
   FILE:FUNCTION, to distinguish among like-named static functions.\n\
   *ADDRESS, to list around the line containing that address.\n\
-With two args if one is empty it stands for ten lines away from \
-the other arg."));
+With two args, if one is empty, it stands for ten lines away from\n\
+the other arg.\n\
+\n\
+By default, when a single location is given, display ten lines.\n\
+This can be changed using \"set listsize\", and the current value\n\
+can be shown using \"show listsize\"."));
 
   add_com_alias ("l", "list", class_files, 1);
 
This page took 0.031785 seconds and 4 git commands to generate.