diff options
| author | Deepak Panickal <deepak@codeplay.com> | 2014-08-08 16:47:42 +0000 | 
|---|---|---|
| committer | Deepak Panickal <deepak@codeplay.com> | 2014-08-08 16:47:42 +0000 | 
| commit | d249928b84c2fc11b0940d702288cbf4f7f2d332 (patch) | |
| tree | 15c9c86005af89960c902e4f24513d5e173d00a6 /lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp | |
| parent | caa565887d7a8701624534516308da497ae46078 (diff) | |
| download | bcm5719-llvm-d249928b84c2fc11b0940d702288cbf4f7f2d332.tar.gz bcm5719-llvm-d249928b84c2fc11b0940d702288cbf4f7f2d332.zip | |
Add new MI commands, features and fixes to the lldb-mi driver.
- Can now load an executable directly as an argument.
- Fixes towards supporting local debugging.
- Fixes for stack-list-arguments, data-evaluate-expression, environment-cd, stack-list-locals, interpreter-exec.
- Fix breakpoint event handling.
- Support dynamic loading of libraries using the search paths provided by Eclipse.
llvm-svn: 215223
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp')
| -rw-r--r-- | lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp | 10 | 
1 files changed, 1 insertions, 9 deletions
| diff --git a/lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp b/lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp index 4d1b9042ca1..b37d6af171f 100644 --- a/lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp +++ b/lldb/tools/lldb-mi/MICmdCmdGdbSet.cpp @@ -23,7 +23,6 @@  #include "MICmdCmdGdbSet.h"  #include "MICmnMIResultRecord.h"  #include "MICmnMIValueConst.h" -#include "MICmdArgContext.h"  #include "MICmdArgValString.h"  #include "MICmdArgValListOfN.h"  #include "MICmnLLDBDebugSessionInfo.h" @@ -81,14 +80,7 @@ CMICmdCmdGdbSet::~CMICmdCmdGdbSet( void )  bool CMICmdCmdGdbSet::ParseArgs( void )  {  	bool bOk = m_setCmdArgs.Add( *(new CMICmdArgValListOfN( m_constStrArgNamedGdbOption, true, true, CMICmdArgValListBase::eArgValType_StringQuotedNumberPath ) ) ); -	CMICmdArgContext argCntxt( m_cmdData.strMiCmdOption ); -	if( bOk && !m_setCmdArgs.Validate( m_cmdData.strMiCmd, argCntxt ) ) -	{ -		SetError( CMIUtilString::Format( MIRSRC( IDS_CMD_ERR_ARGS ), m_cmdData.strMiCmd.c_str(), m_setCmdArgs.GetErrorDescription().c_str() ) ); -		return MIstatus::failure; -	} -	 -	return bOk; +	return (bOk && ParseValidateCmdOptions() );  }  //++ ------------------------------------------------------------------------------------ | 

