summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MIUtilString.h
diff options
context:
space:
mode:
authorDeepak Panickal <deepak@codeplay.com>2014-08-08 16:47:42 +0000
committerDeepak Panickal <deepak@codeplay.com>2014-08-08 16:47:42 +0000
commitd249928b84c2fc11b0940d702288cbf4f7f2d332 (patch)
tree15c9c86005af89960c902e4f24513d5e173d00a6 /lldb/tools/lldb-mi/MIUtilString.h
parentcaa565887d7a8701624534516308da497ae46078 (diff)
downloadbcm5719-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/MIUtilString.h')
-rw-r--r--lldb/tools/lldb-mi/MIUtilString.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/lldb/tools/lldb-mi/MIUtilString.h b/lldb/tools/lldb-mi/MIUtilString.h
index a52cddfd304..30b027a9d31 100644
--- a/lldb/tools/lldb-mi/MIUtilString.h
+++ b/lldb/tools/lldb-mi/MIUtilString.h
@@ -55,15 +55,17 @@ public:
/* ctor */ CMIUtilString( const MIchar * vpData );
/* ctor */ CMIUtilString( const MIchar * const * vpData );
//
+ bool ExtractNumber( MIint64 & vwrNumber ) const;
+ CMIUtilString FindAndReplace( const CMIUtilString & vFind, const CMIUtilString & vReplaceWith ) const;
+ bool IsNumber( void ) const;
+ bool IsQuoted( void ) const;
+ CMIUtilString RemoveRepeatedCharacters( const MIchar vChar );
MIuint Split( const CMIUtilString & vDelimiter, VecString_t & vwVecSplits ) const;
MIuint SplitConsiderQuotes( const CMIUtilString & vDelimiter, VecString_t & vwVecSplits ) const;
- CMIUtilString Trim( void ) const;
- CMIUtilString Trim( const MIchar vChar ) const;
CMIUtilString StripCREndOfLine( void ) const;
CMIUtilString StripCRAll( void ) const;
- CMIUtilString FindAndReplace( const CMIUtilString & vFind, const CMIUtilString & vReplaceWith ) const;
- bool IsNumber( void ) const;
- bool ExtractNumber( MIint64 & vwrNumber ) const;
+ CMIUtilString Trim( void ) const;
+ CMIUtilString Trim( const MIchar vChar ) const;
//
CMIUtilString & operator= ( const MIchar * vpRhs );
CMIUtilString & operator= ( const std::string & vrRhs );
@@ -78,5 +80,6 @@ private:
// Methods:
private:
- bool ExtractNumberFromHexadecimal( MIint64 & vwrNumber ) const;
+ bool ExtractNumberFromHexadecimal( MIint64 & vwrNumber ) const;
+ CMIUtilString RemoveRepeatedCharacters( const MIint vnPos, const MIchar vChar );
};
OpenPOWER on IntegriCloud