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
8 lines
180 B
C
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;
|
|
}
|