diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-12-15 23:30:05 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-12-15 23:30:05 +0000 |
commit | 6e55cd5e29130670545b448fe6ac485ac6a11153 (patch) | |
tree | b0e5f0c7bb6989dfa58ed6cc4afaf76a50b324ee /lldb/test/python_api/process/main.cpp | |
parent | 6d37656c1a2c47b3d542e99388aeee1d26bd2a2d (diff) | |
download | bcm5719-llvm-6e55cd5e29130670545b448fe6ac485ac6a11153.tar.gz bcm5719-llvm-6e55cd5e29130670545b448fe6ac485ac6a11153.zip |
Add test scenario for newly added SBProcess APIs: ReadCStringFromMemory() and ReadUnsignedFromMemory().
llvm-svn: 146704
Diffstat (limited to 'lldb/test/python_api/process/main.cpp')
-rw-r--r-- | lldb/test/python_api/process/main.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/process/main.cpp b/lldb/test/python_api/process/main.cpp index 4d5b5e6d7e9..57da5748dda 100644 --- a/lldb/test/python_api/process/main.cpp +++ b/lldb/test/python_api/process/main.cpp @@ -7,10 +7,13 @@ // //===----------------------------------------------------------------------===// #include <stdio.h> +#include <stdint.h> // This simple program is to test the lldb Python API related to process. char my_char = 'u'; +char my_cstring[] = "lldb.SBProcess.ReadCStringFromMemory() works!"; +uint32_t my_uint32 = 12345; int my_int = 0; int main (int argc, char const *argv[]) |