From a6db9339797e612cbd564be37a8356752c33d320 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Thu, 21 Feb 2013 01:29:04 +0000 Subject: [PATCH] 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 --- lldb/source/Commands/CommandObjectFrame.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp index 1882731..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), -- 2.7.4