aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorEnrico Granata <egranata@apple.com>2013-02-21 01:29:04 +0000
committerEnrico Granata <egranata@apple.com>2013-02-21 01:29:04 +0000
commita6db9339797e612cbd564be37a8356752c33d320 (patch)
tree7c59391acecccaa763dbcf86427e588e78538f07 /lldb/source/Commands/CommandObjectFrame.cpp
parent0332558894c5deddf64cc433b150244569c76489 (diff)
downloadllvm-a6db9339797e612cbd564be37a8356752c33d320.zip
llvm-a6db9339797e612cbd564be37a8356752c33d320.tar.gz
llvm-a6db9339797e612cbd564be37a8356752c33d320.tar.bz2
If you say
(lldb) frame variable without first launching the inferior, you get: error: invalid frame this is misleading and should probably hint that there is no process. Adding this flag makes sure that we get: error: invalid process The difference between eFlagRequiresProcess and eFlagProcessMustBeLaunched is an open question. llvm-svn: 175702
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 18827315..aafdd79 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -308,7 +308,8 @@ public:
eFlagRequiresFrame |
eFlagTryTargetAPILock |
eFlagProcessMustBeLaunched |
- eFlagProcessMustBePaused),
+ eFlagProcessMustBePaused |
+ eFlagRequiresProcess),
m_option_group (interpreter),
m_option_variable(true), // Include the frame specific options by passing "true"
m_option_format (eFormatDefault),