Use upper case for metasyntactic variables in "help find"
authorTom Tromey <tromey@adacore.com>
Thu, 14 Feb 2019 14:58:58 +0000 (07:58 -0700)
committerTom Tromey <tromey@adacore.com>
Wed, 20 Feb 2019 15:21:46 +0000 (08:21 -0700)
While answering a user's question on irc, I realized that the
metasyntactic variables in "help find" are not in upper case.  As you
know this is one of my pet quests, so here is a patch to fix this.
Tested on x86-64 Fedora 29.

gdb/ChangeLog
2019-02-20  Tom Tromey  <tromey@adacore.com>

* findcmd.c (_initialize_mem_search): Use upper case for
metasyntactic variables.

gdb/ChangeLog
gdb/findcmd.c

index 721e636fdca4e53eaef1c1a94110544e4b8ea50a..03419812a03b37bc8773df68a58ed5ad8ee1f4d5 100644 (file)
@@ -1,3 +1,8 @@
+2019-02-20  Tom Tromey  <tromey@adacore.com>
+
+       * findcmd.c (_initialize_mem_search): Use upper case for
+       metasyntactic variables.
+
 2019-02-20  Alan Hayward  <alan.hayward@arm.com>
 
        * aarch64-tdep.c (aarch64_add_reggroups): New function.
index cd461003d362a1b8ec69e1b98cc0475a29e3e36a..52f8f80aaae8f50d5068d5f0c669f62b4e6d208d 100644 (file)
@@ -286,9 +286,9 @@ _initialize_mem_search (void)
   add_cmd ("find", class_vars, find_command, _("\
 Search memory for a sequence of bytes.\n\
 Usage:\nfind \
-[/size-char] [/max-count] start-address, end-address, expr1 [, expr2 ...]\n\
-find [/size-char] [/max-count] start-address, +length, expr1 [, expr2 ...]\n\
-size-char is one of b,h,w,g for 8,16,32,64 bit values respectively,\n\
+[/SIZE-CHAR] [/MAX-COUNT] START-ADDRESS, END-ADDRESS, EXPR1 [, EXPR2 ...]\n\
+find [/SIZE-CHAR] [/MAX-COUNT] START-ADDRESS, +LENGTH, EXPR1 [, EXPR2 ...]\n\
+SIZE-CHAR is one of b,h,w,g for 8,16,32,64 bit values respectively,\n\
 and if not specified the size is taken from the type of the expression\n\
 in the current language.\n\
 Note that this means for example that in the case of C-like languages\n\
This page took 0.037033 seconds and 4 git commands to generate.