summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/StopInfo.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-08-13 21:19:11 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-08-13 21:19:11 +0000
commitf97ecd70b2047dead06c71910ca6c351e4dc3e73 (patch)
tree1c11ef0a599c3d13e3c0cf0cce8c0086ed9a8599 /lldb/source/Target/StopInfo.cpp
parent7513fa346cd7d657ccf8b5a4714527b74f8b9be7 (diff)
downloadbcm5719-llvm-f97ecd70b2047dead06c71910ca6c351e4dc3e73.tar.gz
bcm5719-llvm-f97ecd70b2047dead06c71910ca6c351e4dc3e73.zip
Comment changes.
llvm-svn: 161787
Diffstat (limited to 'lldb/source/Target/StopInfo.cpp')
-rw-r--r--lldb/source/Target/StopInfo.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Target/StopInfo.cpp b/lldb/source/Target/StopInfo.cpp
index a902ee8e9b2..6beec286584 100644
--- a/lldb/source/Target/StopInfo.cpp
+++ b/lldb/source/Target/StopInfo.cpp
@@ -500,6 +500,7 @@ public:
{
if (!wp_sp->IsWatchVariable())
{
+ // We are not watching a variable, just read from the process memory for the watched location.
assert (process);
Error error;
uint64_t val = process->ReadUnsignedIntegerFromMemory(wp_sp->GetLoadAddress(),
@@ -517,7 +518,7 @@ public:
}
else if (!wp_sp->GetWatchSpec().empty())
{
- // Things have checked out ok...
+ // Use our frame to evaluate the variable expression.
Error error;
uint32_t expr_path_options = StackFrame::eExpressionPathOptionCheckPtrVsMember |
StackFrame::eExpressionPathOptionsAllowDirectIVarAccess;
OpenPOWER on IntegriCloud