summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/process/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/python_api/process/main.cpp')
-rw-r--r--lldb/test/python_api/process/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lldb/test/python_api/process/main.cpp b/lldb/test/python_api/process/main.cpp
index 0d507b9f3b4..4d5b5e6d7e9 100644
--- a/lldb/test/python_api/process/main.cpp
+++ b/lldb/test/python_api/process/main.cpp
@@ -11,6 +11,7 @@
// This simple program is to test the lldb Python API related to process.
char my_char = 'u';
+int my_int = 0;
int main (int argc, char const *argv[])
{
@@ -22,4 +23,5 @@ int main (int argc, char const *argv[])
printf("after the loop: my_char='%c'\n", my_char); // 'my_char' should print out as 'x'.
return 0; // Set break point at this line and check variable 'my_char'.
+ // Use lldb Python API to set memory content for my_int and check the result.
}
OpenPOWER on IntegriCloud