aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-12-23 02:17:54 +0000
committerJim Ingham <jingham@apple.com>2010-12-23 02:17:54 +0000
commitff471a9402d78d83cf5fd42e7d55a293648eebd6 (patch)
tree7e4f6d12cb3b5e00702877bd401e894b493265ea /lldb/source/Commands/CommandObjectFrame.cpp
parentca4d91d9f661159fbbca3b748ca2e8ccb3821b06 (diff)
downloadllvm-ff471a9402d78d83cf5fd42e7d55a293648eebd6.zip
llvm-ff471a9402d78d83cf5fd42e7d55a293648eebd6.tar.gz
llvm-ff471a9402d78d83cf5fd42e7d55a293648eebd6.tar.bz2
"frame variable" requires that the process be running and paused or there aren't any frames... So mark the command properly as such.
llvm-svn: 122464
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index 2960362..e107898 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -405,7 +405,8 @@ public:
"argument, local, file static and file global variables. "
"Children of aggregate variables can be specified such as "
"'var->child.x'.",
- NULL)
+ NULL,
+ eFlagProcessMustBeLaunched | eFlagProcessMustBePaused)
{
CommandArgumentEntry arg;
CommandArgumentData var_name_arg;