diff options
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdArgValFile.cpp')
-rw-r--r-- | lldb/tools/lldb-mi/MICmdArgValFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-mi/MICmdArgValFile.cpp b/lldb/tools/lldb-mi/MICmdArgValFile.cpp index 8809badc42c..b34c75ea818 100644 --- a/lldb/tools/lldb-mi/MICmdArgValFile.cpp +++ b/lldb/tools/lldb-mi/MICmdArgValFile.cpp @@ -60,7 +60,7 @@ bool CMICmdArgValFile::Validate(CMICmdArgContext &vwArgContext) { if (vwArgContext.IsEmpty()) - return MIstatus::success; + return m_bMandatory ? MIstatus::failure : MIstatus::success; // The GDB/MI spec suggests there is only parameter |