Comment changes.

llvm-svn: 161787
This commit is contained in:
Johnny Chen 2012-08-13 21:19:11 +00:00
parent 7513fa346c
commit f97ecd70b2
1 changed files with 2 additions and 1 deletions

View File

@ -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;