Files
clang-p2996/lldb/test/API/commands/memory/write/main.c
Venkata Ramanaiah Nalamothu 94038c570f [lldb] Fix 'memory write' to not allow specifying values when writing file contents
Currently the 'memory write' command allows specifying the values when
writing the file contents to memory but the values are actually ignored. This
patch fixes that by erroring out when values are specified in such cases.

Reviewed By: DavidSpickett

Differential Revision: https://reviews.llvm.org/D114544
2021-11-26 15:50:36 +05:30

8 lines
180 B
C

#include <stdio.h>
int main() {
char my_string[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 0};
printf("my_string=%s\n", my_string); // Set break point at this line.
return 0;
}