Update find command help and search memory docs
authorDominik Czarnota <dominik.b.czarnota@gmail.com>
Mon, 27 Nov 2017 03:42:18 +0000 (22:42 -0500)
committerSimon Marchi <simon.marchi@polymtl.ca>
Mon, 27 Nov 2017 03:42:19 +0000 (22:42 -0500)
commitee9a09e959a5b7c152cc72028d4f6c879bc901c9
treee4a0aa2cf3552f6f7286d6f0151f5bb2fd75e461
parente8e7d10c39955e7ff99ff42f6f16d6befe2fa12e
Update find command help and search memory docs

This patch updates the `find` command help and docs description to show
how to search for not null terminated strings when current language's
strings includes it.

gdb/ChangeLog:

PR gdb/21945
* findcmd.c (_initialize_mem_search): Update find command help
text.

gdb/doc/ChangeLog:

PR gdb/21945
* gdb.texinfo (Search Memory): Update description and example
about how to search a string without NULL terminator.
gdb/ChangeLog
gdb/doc/ChangeLog
gdb/doc/gdb.texinfo
gdb/findcmd.c