[lldb] Add missing space in C string format memory read warning
authorDavid Spickett <david.spickett@linaro.org>
Wed, 1 Dec 2021 14:56:18 +0000 (14:56 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Wed, 8 Dec 2021 11:20:25 +0000 (11:20 +0000)
commit3a870bffb108516bc1c09818538466db4f1a505d
tree8f0c4c881d67168e796a75b256cfb8c20be360f0
parent01bc67e449a91d05d20d36630c9fb99573339ec4
[lldb] Add missing space in C string format memory read warning

Also add tests to check that we print the warning in the right
circumstances.

Reviewed By: labath

Differential Revision: https://reviews.llvm.org/D114877
lldb/source/Commands/CommandObjectMemory.cpp
lldb/test/API/commands/memory/read/Makefile [new file with mode: 0644]
lldb/test/API/commands/memory/read/TestMemoryRead.py [new file with mode: 0644]
lldb/test/API/commands/memory/read/main.c [new file with mode: 0644]