[Lldb-commits] [lldb] r175702 - If you say
Enrico Granata
egranata at apple.com
Wed Feb 20 17:29:04 PST 2013
Author: enrico
Date: Wed Feb 20 19:29:04 2013
New Revision: 175702
URL: http://llvm.org/viewvc/llvm-project?rev=175702&view=rev
Log:
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.
Modified:
lldb/trunk/source/Commands/CommandObjectFrame.cpp
Modified: lldb/trunk/source/Commands/CommandObjectFrame.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectFrame.cpp?rev=175702&r1=175701&r2=175702&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectFrame.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectFrame.cpp Wed Feb 20 19:29:04 2013
@@ -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),
More information about the lldb-commits
mailing list