Update find command help and search memory docs
[deliverable/binutils-gdb.git] / gdb / findcmd.c
index b43fefc06daac63aa854231c27d5fbec5b00368e..d437b56d9203389055d0145b06a73d4e1709d82c 100644 (file)
@@ -293,7 +293,9 @@ 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\
 a search for an untyped 0x42 will search for \"(int) 0x42\"\n\
-which is typically four bytes.\n\
+which is typically four bytes, and a search for a string \"hello\" will\n\
+include the trailing '\\0'.  The null terminator can be removed from\n\
+searching by using casts, e.g.: {char[5]}\"hello\".\n\
 \n\
 The address of the last match is stored as the value of \"$_\".\n\
 Convenience variable \"$numfound\" is set to the number of matches."),
This page took 0.02317 seconds and 4 git commands to generate.