Added gdb-remote $qMemoryRegionInfo tests for heap and stack.
authorTodd Fiala <todd.fiala@gmail.com>
Wed, 4 Jun 2014 16:42:12 +0000 (16:42 +0000)
committerTodd Fiala <todd.fiala@gmail.com>
Wed, 4 Jun 2014 16:42:12 +0000 (16:42 +0000)
commit11d88bd10ad0ed79bd1556dd921ae4ca53e4a215
tree1c32f7bb3c2471bb5e4da4af4127acf91e9f36fc
parent7babe4f074675a7ba21f1feb1cbfd41193948293
Added gdb-remote $qMemoryRegionInfo tests for heap and stack.

Added two new tests: one to verify that a test exe heap address
returned is readable and writeable, and a similar one to verify
a test exe stack address is readable and writeable.

Ran the main.cpp test exe code through the Xcode re-indenter.
I was using TextMate to edit the test's C++ code alongside the
Python code but last check-in found that it was not handling
tabs/indentation the way I am intending it.

Modified test exe to require C++11.

Refactored gdb remote python code's handling of memory region
info into more re-usable methods.

llvm-svn: 210196
lldb/test/tools/lldb-gdbserver/Makefile
lldb/test/tools/lldb-gdbserver/TestLldbGdbServer.py
lldb/test/tools/lldb-gdbserver/main.cpp